@leafer/canvas
Advanced tools
+9
-9
| { | ||
| "name": "@leafer/canvas", | ||
| "version": "1.12.1", | ||
| "version": "1.12.2", | ||
| "description": "@leafer/canvas", | ||
@@ -25,13 +25,13 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/file": "1.12.1", | ||
| "@leafer/list": "1.12.1", | ||
| "@leafer/math": "1.12.1", | ||
| "@leafer/data": "1.12.1", | ||
| "@leafer/path": "1.12.1", | ||
| "@leafer/debug": "1.12.1", | ||
| "@leafer/platform": "1.12.1" | ||
| "@leafer/file": "1.12.2", | ||
| "@leafer/list": "1.12.2", | ||
| "@leafer/math": "1.12.2", | ||
| "@leafer/data": "1.12.2", | ||
| "@leafer/path": "1.12.2", | ||
| "@leafer/debug": "1.12.2", | ||
| "@leafer/platform": "1.12.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.12.1" | ||
| "@leafer/interface": "1.12.2" | ||
| } | ||
| } |
@@ -210,3 +210,3 @@ import { IBounds, ILeaferCanvas, ICanvasStrokeOptions, ILeaferCanvasConfig, IWindingRuleData, IExportOptions, IMatrixData, IBoundsData, IAutoBounds, IScreenSizeData, IResizeEventListener, IMatrixWithBoundsData, IPointData, InnerId, ICanvasManager, IWindingRule, IBlendMode, IExportImageType, IExportFileType, IBlob, ICursorType, ILeaferCanvasView, IRadiusPointData, IObject, IMatrixWithOptionHalfData } from '@leafer/interface' | ||
| public copyWorld(canvas: ILeaferCanvas, from?: IBoundsData, to?: IBoundsData, blendMode?: IBlendMode, ceilPixel: boolean = true): void { | ||
| public copyWorld(canvas: ILeaferCanvas, from?: IBoundsData, to?: IBoundsData, blendMode?: IBlendMode, ceilPixel?: boolean): void { | ||
| if (blendMode) this.blendMode = blendMode | ||
@@ -225,3 +225,3 @@ if (from) { | ||
| public copyWorldToInner(canvas: ILeaferCanvas, fromWorld: IMatrixWithBoundsData, toInnerBounds: IBoundsData, blendMode?: IBlendMode, ceilPixel: boolean = true): void { | ||
| public copyWorldToInner(canvas: ILeaferCanvas, fromWorld: IMatrixWithBoundsData, toInnerBounds: IBoundsData, blendMode?: IBlendMode, ceilPixel?: boolean): void { | ||
| if (fromWorld.b || fromWorld.c) { | ||
@@ -240,3 +240,3 @@ this.save() | ||
| public copyWorldByReset(canvas: ILeaferCanvas, from?: IBoundsData, to?: IBoundsData, blendMode?: IBlendMode, onlyResetTransform?: boolean, ceilPixel: boolean = true): void { | ||
| public copyWorldByReset(canvas: ILeaferCanvas, from?: IBoundsData, to?: IBoundsData, blendMode?: IBlendMode, onlyResetTransform?: boolean, ceilPixel?: boolean): void { | ||
| this.resetTransform() | ||
@@ -243,0 +243,0 @@ this.copyWorld(canvas, from, to, blendMode, ceilPixel) |
34978
-0.05%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated