@leafer/interface
Advanced tools
+1
-1
| { | ||
| "name": "@leafer/interface", | ||
| "version": "1.7.0", | ||
| "version": "1.8.0", | ||
| "description": "@leafer/interface", | ||
@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan", |
@@ -121,4 +121,4 @@ import { IObject } from '../data/IData' | ||
| setStroke(strokeStyle: string | object, strokeWidth: number, options?: ICanvasStrokeOptions): void | ||
| setStrokeOptions(options: ICanvasStrokeOptions): void | ||
| setStroke(strokeStyle: string | object, strokeWidth: number, options?: ICanvasStrokeOptions, childOptions?: ICanvasStrokeOptions): void | ||
| setStrokeOptions(options: ICanvasStrokeOptions, childOptions?: ICanvasStrokeOptions): void | ||
@@ -125,0 +125,0 @@ setWorld(matrix: IMatrixData, parentMatrix?: IMatrixData): void |
+10
-1
@@ -8,3 +8,3 @@ import { ILeaferBase } from '../app/ILeafer' | ||
| import { IObject, INumber, IBoolean, IValue, IString, IPathString, IFourNumber } from '../data/IData' | ||
| import { IMatrixWithBoundsData, IMatrix, IPointData, IBoundsData, IRadiusPointData, ILayoutBoundsData, IMatrixData, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAutoBoxData, IUnitPointData, IRotationPointData } from '../math/IMath' | ||
| import { IMatrixWithBoundsData, IMatrix, IPointData, IBoundsData, IRadiusPointData, ILayoutBoundsData, IMatrixData, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAutoBoxData, IUnitPointData, IRotationPointData, IScaleData } from '../math/IMath' | ||
| import { IFunction } from '../function/IFunction' | ||
@@ -262,2 +262,4 @@ | ||
| renderSpread?: INumber // 扩大渲染边界 | ||
| path?: IPathCommandData | IPathCommandObject[] | IPathString | ||
@@ -364,2 +366,4 @@ windingRule?: IWindingRule | ||
| renderSpread?: number | ||
| path?: IPathCommandData | ||
@@ -521,2 +525,5 @@ windingRule?: IWindingRule | ||
| readonly isAutoWidth?: boolean | ||
| readonly isAutoHeight?: boolean | ||
| destroyed: boolean | ||
@@ -604,2 +611,4 @@ | ||
| __getNowWorld(options: IRenderOptions): IMatrixWithBoundsScaleData // when render use other matrix | ||
| getClampRenderScale(): number // 获取当前渲染元素的缩放比例,限制最小为1 | ||
| getRenderScaleData(abs?: boolean, scaleFixed?: boolean): IScaleData // 当前渲染的比例数据,必须马上分解使用 | ||
@@ -606,0 +615,0 @@ getTransform(relative?: ILocationType | ILeaf): IMatrixData |
@@ -38,2 +38,3 @@ import { IBlob, ILeaferCanvas } from '../canvas/ILeaferCanvas' | ||
| trimBounds?: IBoundsData | ||
| error?: any | ||
| } | ||
@@ -40,0 +41,0 @@ |
@@ -35,3 +35,3 @@ import { IBoundsData, IMatrixData, ILayoutBoundsData, IPointData } from '../math/IMath' | ||
| // state | ||
| resized: 'scale' | 'inner' | 'local' // (scale | inner) > local | ||
| resized: 'inner' | 'scale' | 'local' // inner > scale > local, 设置了inner之后不能被覆盖 | ||
| waitAutoLayout: boolean | ||
@@ -38,0 +38,0 @@ |
Sorry, the diff of this file is too big to display
194949
0.43%4995
0.28%