image-stroke-v2
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -29,2 +29,6 @@ export declare type Options = { | ||
} | ||
export default ImageStroke; | ||
declare const _default: { | ||
ImageStroke: typeof ImageStroke; | ||
StrokeMethodFactory: typeof StrokeMethodFactory; | ||
}; | ||
export default _default; |
@@ -25,4 +25,4 @@ import { utils } from './utils'; | ||
this.glCanvas = null; | ||
this.method = () => { }; | ||
this.useMethod = useMethod; | ||
this.method = () => { StrokeMethodFactory.rotate(); }; | ||
this.useMethod = useMethod || StrokeMethodFactory.rotate(); | ||
} | ||
@@ -76,2 +76,5 @@ getCanvas(useMethod = this.useMethod) { | ||
} | ||
export default ImageStroke; | ||
export default { | ||
ImageStroke, | ||
StrokeMethodFactory | ||
}; |
{ | ||
"name": "image-stroke-v2", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Makes stroke for a image with transparent background.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
18440
465