@leafer/interface 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/interface",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -15,6 +15,7 @@ import { IAppBase } from './IApp'
15
15
  import { ILeaferImage, ILeaferImageConfig } from '../image/ILeaferImage'
16
16
  import { IControl } from '../control/IControl'
17
17
  import { IFunction } from '../function/IFunction'
18
+ import { ITransition } from '../animate/ITransition'
18
19
 
19
20
 
20
21
  export type ILeaferType = 'draw' | 'block' | 'viewport' | 'editor' | 'design' | 'board' | 'document' | 'app' | 'website' | 'game' | 'player' | 'chart' | 'custom'
@@ -24,8 +25,6 @@ export interface ILeaferConfig extends IRendererConfig, ILeaferCanvasConfig, IIn
24
25
  mobile?: boolean
25
26
  realCanvas?: boolean
26
27
  grow?: boolean | 'box' | 'render'
27
- growWidth?: boolean
28
- growHeight?: boolean
29
28
  lazySpeard?: IFourNumber
30
29
  }
31
30
 
@@ -84,7 +83,7 @@ export interface ILeaferAttrData {
84
83
  waitViewReady(item: IFunction, bind?: IObject): void
85
84
  waitViewCompleted(item: IFunction, bind?: IObject): void
86
85
 
87
- zoom(zoomType: IZoomType, padding?: IFourNumber, fixedScale?: boolean): IBoundsData
86
+ zoom(zoomType: IZoomType, padding?: IFourNumber, fixedScale?: boolean, transition?: ITransition): IBoundsData
88
87
  getValidMove(moveX: number, moveY: number): IPointData
89
88
  getValidScale(changeScale: number): number
90
89
 
@@ -206,7 +206,10 @@ export type IStateStyleType =
206
206
  | 'selectedStyle'
207
207
  | 'disabledStyle'
208
208
 
209
-
209
+ export interface IFilter extends IObject {
210
+ type: string
211
+ visible?: boolean
212
+ }
210
213
 
211
214
  export interface ILeafAttrData {
212
215
  // layer data
@@ -224,6 +227,7 @@ export interface ILeafAttrData {
224
227
 
225
228
  mask?: IBoolean | IMaskType
226
229
  eraser?: IBoolean | IEraserType
230
+ filter?: IFilter | IFilter[]
227
231
 
228
232
  // layout data
229
233
  x?: INumber
@@ -326,6 +330,7 @@ export interface ILeafComputedData {
326
330
 
327
331
  mask?: boolean | IMaskType
328
332
  eraser?: boolean | IEraserType
333
+ filter?: IFilter[]
329
334
 
330
335
  // layout data
331
336
  x?: number
@@ -620,7 +625,7 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
620
625
 
621
626
  moveInner(x: number | IPointData, y?: number, transition?: ITransition): void
622
627
  scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number | ITransition, resize?: boolean, transition?: ITransition): void
623
- rotateOf(origin: IPointData | IAlign, rotation: number): void
628
+ rotateOf(origin: IPointData | IAlign, rotation: number, transition?: ITransition): void
624
629
  skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean, transition?: ITransition): void
625
630
 
626
631
  transformWorld(worldTransform?: IMatrixData, resize?: boolean, transition?: ITransition): void
@@ -649,7 +654,7 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
649
654
  // ILeafRender ->
650
655
  __render(canvas: ILeaferCanvas, options: IRenderOptions): void
651
656
  __drawFast(canvas: ILeaferCanvas, options: IRenderOptions): void
652
- __draw(canvas: ILeaferCanvas, options: IRenderOptions): void
657
+ __draw(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void
653
658
 
654
659
  __clip(canvas: ILeaferCanvas, options: IRenderOptions): void
655
660
  __renderShape(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void
@@ -6,7 +6,7 @@ export type ILeafRenderModule = ILeafRender & ThisType<ILeaf>
6
6
 
7
7
  export interface ILeafRender {
8
8
  __render?(canvas: ILeaferCanvas, options: IRenderOptions): void
9
- __draw?(canvas: ILeaferCanvas, options: IRenderOptions): void
9
+ __draw?(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void
10
10
  __drawFast?(canvas: ILeaferCanvas, options: IRenderOptions): void
11
11
 
12
12
  __clip?(_canvas: ILeaferCanvas, _options: IRenderOptions): void
@@ -0,0 +1,21 @@
1
+ import { ITaskProcessor } from '../task/ITaskProcessor'
2
+ import { ILeaferImage } from '../image/ILeaferImage'
3
+ import { IExportFileType } from './IFileType'
4
+ import { IObject } from '../data/IData'
5
+ import { ILeaferCanvas } from '../canvas/ILeaferCanvas'
6
+
7
+
8
+ export interface IResource {
9
+ map: any,
10
+ tasker: ITaskProcessor
11
+ readonly isComplete: boolean
12
+
13
+ set(key: string, value: any): void
14
+ get(key: string): any
15
+ remove(key: string): void
16
+
17
+ setImage(key: string, value: string | IObject | ILeaferImage | ILeaferCanvas, format?: IExportFileType): ILeaferImage
18
+ loadImage(key: string, format?: IExportFileType): Promise<ILeaferImage>
19
+
20
+ destroy(): void
21
+ }
@@ -2,21 +2,17 @@ import { ILeaferImage, ILeaferImageConfig } from './ILeaferImage'
2
2
  import { ITaskProcessor } from '../task/ITaskProcessor'
3
3
  import { IExportFileType } from '../file/IFileType'
4
4
 
5
- interface ILeaferImageMap {
6
- [name: string]: ILeaferImage
7
- }
8
5
 
9
6
  export interface IImageManager {
10
- map: ILeaferImageMap
11
- recycledList: ILeaferImage[]
12
- tasker: ITaskProcessor
13
7
  patternTasker: ITaskProcessor
14
8
  patternLocked?: boolean // 锁定pattern不更新, 一般用于创建碰撞位图 UIHit.ts
15
- readonly isComplete: boolean
9
+ recycledList: ILeaferImage[]
10
+
16
11
  get(config: ILeaferImageConfig): ILeaferImage
17
12
  recycle(image: ILeaferImage): void
18
13
  clearRecycled(): void
19
14
  hasOpacityPixel(config: ILeaferImageConfig): boolean // png / svg / webp
20
15
  isFormat(format: IExportFileType, config: ILeaferImageConfig): boolean
16
+
21
17
  destroy(): void
22
18
  }
@@ -3,11 +3,13 @@ import { IObject } from '../data/IData'
3
3
  import { InnerId } from '../event/IEventer'
4
4
  import { IExportFileType } from '../file/IFileType'
5
5
  import { IMatrixData } from '../math/IMath'
6
+ import { ILeaferCanvas } from '../canvas/ILeaferCanvas'
6
7
 
7
8
  export interface ILeaferImageConfig {
8
9
  url: string
9
10
  thumb?: string
10
11
  format?: IExportFileType
12
+ view?: IObject | ILeaferImage | ILeaferCanvas
11
13
  }
12
14
 
13
15
  export interface ILeaferImageOnLoaded {
@@ -31,7 +33,7 @@ export interface ILeaferImage {
31
33
  readonly innerId: InnerId
32
34
  readonly url: string
33
35
 
34
- view: unknown
36
+ view: any
35
37
  width: number
36
38
  height: number
37
39
 
@@ -48,7 +50,8 @@ export interface ILeaferImage {
48
50
 
49
51
  load(onSuccess?: ILeaferImageOnLoaded, onError?: ILeaferImageOnError): number
50
52
  unload(index: number, stopEvent?: boolean): void
51
- getCanvas(width: number, height: number, opacity?: number, _filters?: IObject): unknown
53
+ getFull(filters?: IObject): any
54
+ getCanvas(width: number, height: number, opacity?: number, filters?: IObject): any
52
55
  getPattern(canvas: any, repeat: string | null, transform?: IMatrixData, paint?: IObject): ICanvasPattern
53
56
  destroy(): void
54
57
  }
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { IAppBase } from './app/IApp'
2
2
  export { ILeaferBase, ILeaferAttrData, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILeaferConfig, ICreator, IUICreator, IZoomType } from './app/ILeafer'
3
- export { ILeaf, ILeafAttrData, ILeafComputedData, ILeafInputData, ICachedLeaf, IFlowType, IFlowBoxType, IAlign, IAxisAlign, IFlowAlign, IFlowAxisAlign, ISide, IAxis, IGap, IPointGap, IAxisReverse, IBaseLineAlign, IFlowWrap, IAutoSize, IRangeSize, IPercentData, IUnitData, IConstraint, IConstraintType, IHitType, IMaskType, IEraserType, IBlendMode, IEditSize, IImageCursor, ICursorType, IStateStyleType, IDirection, IDirection4, IAround, ILeafAttrDescriptor, ILeafAttrDescriptorFn } from './display/ILeaf'
3
+ export { ILeaf, ILeafAttrData, ILeafComputedData, ILeafInputData, ICachedLeaf, IFlowType, IFlowBoxType, IAlign, IAxisAlign, IFlowAlign, IFlowAxisAlign, ISide, IAxis, IGap, IPointGap, IAxisReverse, IBaseLineAlign, IFlowWrap, IAutoSize, IRangeSize, IPercentData, IUnitData, IConstraint, IConstraintType, IHitType, IMaskType, IEraserType, IBlendMode, IEditSize, IImageCursor, ICursorType, IStateStyleType, IDirection, IDirection4, IAround, IFilter, ILeafAttrDescriptor, ILeafAttrDescriptorFn } from './display/ILeaf'
4
4
  export { IBranch } from './display/IBranch'
5
5
  export { IZoomView } from './display/IView'
6
6
 
@@ -41,6 +41,7 @@ export { IWindingRule, ICanvasContext2D, ICanvasContext2DSettings, ITextMetrics,
41
41
  export { CanvasPathCommand, IPathCommandData, MCommandData, HCommandData, VCommandData, LCommandData, CCommandData, SCommandData, QCommandData, TCommandData, ZCommandData, ACommandData, RectCommandData, RoundRectCommandData, EllipseCommandData, ArcCommandData, ArcToCommandData, MoveToCommandObject, LineToCommandObject, BezierCurveToCommandObject, QuadraticCurveToCommandObject, IPathCommandObject } from './path/IPathCommand'
42
42
 
43
43
  export { ILeaferImage, ILeaferImageConfig, ILeaferImageOnLoaded, ILeaferImageOnError, ILeaferImageCacheCanvas, ILeaferImagePatternPaint } from './image/ILeaferImage'
44
+ export { IResource } from './file/IResource'
44
45
  export { IExportFileType, IExportImageType } from './file/IFileType'
45
46
  export { IExportOptions, IJSONOptions, IExportResult, IExportResultFunction, IExportOnCanvasFunction } from './file/IExport'
46
47
 
package/types/index.d.ts CHANGED
@@ -1186,7 +1186,7 @@ interface ILeafHit {
1186
1186
  type ILeafRenderModule = ILeafRender & ThisType<ILeaf>;
1187
1187
  interface ILeafRender {
1188
1188
  __render?(canvas: ILeaferCanvas, options: IRenderOptions): void;
1189
- __draw?(canvas: ILeaferCanvas, options: IRenderOptions): void;
1189
+ __draw?(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void;
1190
1190
  __drawFast?(canvas: ILeaferCanvas, options: IRenderOptions): void;
1191
1191
  __clip?(_canvas: ILeaferCanvas, _options: IRenderOptions): void;
1192
1192
  __renderShape?(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void;
@@ -1395,6 +1395,10 @@ type IFlowAlign = IAlign | IBaseLineAlign;
1395
1395
  type IAround = IAlign | IUnitPointData;
1396
1396
  type ICursorType = IImageCursor | '' | 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'grab' | 'grabbing' | 'e-resize' | 'n-resize' | 'ne-resize' | 'nw-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'w-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'col-resize' | 'row-resize' | 'all-scroll' | 'zoom-in' | 'zoom-out';
1397
1397
  type IStateStyleType = 'hoverStyle' | 'pressStyle' | 'focusStyle' | 'selectedStyle' | 'disabledStyle';
1398
+ interface IFilter extends IObject {
1399
+ type: string;
1400
+ visible?: boolean;
1401
+ }
1398
1402
  interface ILeafAttrData {
1399
1403
  id?: IString;
1400
1404
  name?: IString;
@@ -1408,6 +1412,7 @@ interface ILeafAttrData {
1408
1412
  zIndex?: INumber;
1409
1413
  mask?: IBoolean | IMaskType;
1410
1414
  eraser?: IBoolean | IEraserType;
1415
+ filter?: IFilter | IFilter[];
1411
1416
  x?: INumber;
1412
1417
  y?: INumber;
1413
1418
  width?: INumber;
@@ -1480,6 +1485,7 @@ interface ILeafComputedData {
1480
1485
  zIndex?: number;
1481
1486
  mask?: boolean | IMaskType;
1482
1487
  eraser?: boolean | IEraserType;
1488
+ filter?: IFilter[];
1483
1489
  x?: number;
1484
1490
  y?: number;
1485
1491
  width?: number;
@@ -1688,7 +1694,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1688
1694
  move(x: number | IPointData, y?: number, transition?: ITransition): void;
1689
1695
  moveInner(x: number | IPointData, y?: number, transition?: ITransition): void;
1690
1696
  scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number | ITransition, resize?: boolean, transition?: ITransition): void;
1691
- rotateOf(origin: IPointData | IAlign, rotation: number): void;
1697
+ rotateOf(origin: IPointData | IAlign, rotation: number, transition?: ITransition): void;
1692
1698
  skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean, transition?: ITransition): void;
1693
1699
  transformWorld(worldTransform?: IMatrixData, resize?: boolean, transition?: ITransition): void;
1694
1700
  moveWorld(x: number | IPointData, y?: number, transition?: ITransition): void;
@@ -1709,7 +1715,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1709
1715
  __updateHitCanvas(): void;
1710
1716
  __render(canvas: ILeaferCanvas, options: IRenderOptions): void;
1711
1717
  __drawFast(canvas: ILeaferCanvas, options: IRenderOptions): void;
1712
- __draw(canvas: ILeaferCanvas, options: IRenderOptions): void;
1718
+ __draw(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void;
1713
1719
  __clip(canvas: ILeaferCanvas, options: IRenderOptions): void;
1714
1720
  __renderShape(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void;
1715
1721
  __updateWorldOpacity(): void;
@@ -1739,6 +1745,7 @@ interface ILeaferImageConfig {
1739
1745
  url: string;
1740
1746
  thumb?: string;
1741
1747
  format?: IExportFileType;
1748
+ view?: IObject | ILeaferImage | ILeaferCanvas;
1742
1749
  }
1743
1750
  interface ILeaferImageOnLoaded {
1744
1751
  (image?: ILeaferImage): any;
@@ -1756,7 +1763,7 @@ interface ILeaferImagePatternPaint {
1756
1763
  interface ILeaferImage {
1757
1764
  readonly innerId: InnerId;
1758
1765
  readonly url: string;
1759
- view: unknown;
1766
+ view: any;
1760
1767
  width: number;
1761
1768
  height: number;
1762
1769
  isSVG: boolean;
@@ -1769,7 +1776,8 @@ interface ILeaferImage {
1769
1776
  config: ILeaferImageConfig;
1770
1777
  load(onSuccess?: ILeaferImageOnLoaded, onError?: ILeaferImageOnError): number;
1771
1778
  unload(index: number, stopEvent?: boolean): void;
1772
- getCanvas(width: number, height: number, opacity?: number, _filters?: IObject): unknown;
1779
+ getFull(filters?: IObject): any;
1780
+ getCanvas(width: number, height: number, opacity?: number, filters?: IObject): any;
1773
1781
  getPattern(canvas: any, repeat: string | null, transform?: IMatrixData, paint?: IObject): ICanvasPattern;
1774
1782
  destroy(): void;
1775
1783
  }
@@ -1990,8 +1998,6 @@ interface ILeaferConfig extends IRendererConfig, ILeaferCanvasConfig, IInteracti
1990
1998
  mobile?: boolean;
1991
1999
  realCanvas?: boolean;
1992
2000
  grow?: boolean | 'box' | 'render';
1993
- growWidth?: boolean;
1994
- growHeight?: boolean;
1995
2001
  lazySpeard?: IFourNumber;
1996
2002
  }
1997
2003
  interface ILeaferAttrData {
@@ -2032,7 +2038,7 @@ interface ILeaferAttrData {
2032
2038
  waitReady(item: IFunction, bind?: IObject): void;
2033
2039
  waitViewReady(item: IFunction, bind?: IObject): void;
2034
2040
  waitViewCompleted(item: IFunction, bind?: IObject): void;
2035
- zoom(zoomType: IZoomType, padding?: IFourNumber, fixedScale?: boolean): IBoundsData;
2041
+ zoom(zoomType: IZoomType, padding?: IFourNumber, fixedScale?: boolean, transition?: ITransition): IBoundsData;
2036
2042
  getValidMove(moveX: number, moveY: number): IPointData;
2037
2043
  getValidScale(changeScale: number): number;
2038
2044
  getWorldPointByClient(clientPoint: IClientPointData, updateClient?: boolean): IPointData;
@@ -2126,16 +2132,10 @@ interface ITaskOptions {
2126
2132
  delay?: number;
2127
2133
  }
2128
2134
 
2129
- interface ILeaferImageMap {
2130
- [name: string]: ILeaferImage;
2131
- }
2132
2135
  interface IImageManager {
2133
- map: ILeaferImageMap;
2134
- recycledList: ILeaferImage[];
2135
- tasker: ITaskProcessor;
2136
2136
  patternTasker: ITaskProcessor;
2137
2137
  patternLocked?: boolean;
2138
- readonly isComplete: boolean;
2138
+ recycledList: ILeaferImage[];
2139
2139
  get(config: ILeaferImageConfig): ILeaferImage;
2140
2140
  recycle(image: ILeaferImage): void;
2141
2141
  clearRecycled(): void;
@@ -2244,6 +2244,18 @@ interface IPlugin extends IObject {
2244
2244
  onLeafer?(leafer: ILeaferBase): void;
2245
2245
  }
2246
2246
 
2247
+ interface IResource {
2248
+ map: any;
2249
+ tasker: ITaskProcessor;
2250
+ readonly isComplete: boolean;
2251
+ set(key: string, value: any): void;
2252
+ get(key: string): any;
2253
+ remove(key: string): void;
2254
+ setImage(key: string, value: string | IObject | ILeaferImage | ILeaferCanvas, format?: IExportFileType): ILeaferImage;
2255
+ loadImage(key: string, format?: IExportFileType): Promise<ILeaferImage>;
2256
+ destroy(): void;
2257
+ }
2258
+
2247
2259
  interface ICursorTypeMap {
2248
2260
  [name: string]: ICursorType | ICursorType[];
2249
2261
  }
@@ -2264,4 +2276,4 @@ interface ITransformer {
2264
2276
  destroy(): void;
2265
2277
  }
2266
2278
 
2267
- export type { ACommandData, ArcCommandData, ArcToCommandData, BezierCurveToCommandObject, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEasing, IAnimateEasingFunction, IAnimateEasingName, IAnimateEnding, IAnimateEvent, IAnimateEventFunction, IAnimateEvents, IAnimateOptions, IAnswer, IAppBase, IAround, IAttrDecorator, IAutoBounds, IAutoBoundsData, IAutoBoxData, IAutoSize, IAxis, IAxisAlign, IAxisReverse, IBaseLineAlign, IBlendMode, IBlob, IBlobFunction, IBoolean, IBooleanMap, IBounds, IBoundsData, IBoundsDataFn, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICubicBezierEasing, ICursorConfig, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, ICustomEasingFunction, IDataProcessor, IDataTypeHandle, IDirection, IDirection4, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventMap, IEventOption, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFindCondition, IFindMethod, IFinder, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IFunctionMap, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, IJSONOptions, IKeepTouchData, IKeyEvent, ILayoutAttr, ILayoutBlockData, ILayoutBoundsData, ILayoutChangedData, ILayoutData, ILayoutEvent, ILayouter, ILayouterConfig, ILeaf, ILeafArrayMap, ILeafAttrData, ILeafAttrDescriptor, ILeafAttrDescriptorFn, ILeafBounds, ILeafBoundsModule, ILeafComputedData, ILeafData, ILeafDataOptions, ILeafDataProxy, ILeafDataProxyModule, ILeafEventer, ILeafEventerModule, ILeafHit, ILeafHitModule, ILeafInputData, ILeafLayout, ILeafLevelList, ILeafList, ILeafListItemCallback, ILeafMap, ILeafMatrix, ILeafMatrixModule, ILeafRender, ILeafRenderModule, ILeaferAttrData, ILeaferBase, ILeaferCanvas, ILeaferCanvasConfig, ILeaferCanvasView, ILeaferConfig, ILeaferEvent, ILeaferImage, ILeaferImageCacheCanvas, ILeaferImageConfig, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandObject, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPicker, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IRotationPointData, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISide, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IStepsEasing, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITransformer, ITransition, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IZoomConfig, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandObject, MCommandData, MoveToCommandObject, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
2279
+ export type { ACommandData, ArcCommandData, ArcToCommandData, BezierCurveToCommandObject, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEasing, IAnimateEasingFunction, IAnimateEasingName, IAnimateEnding, IAnimateEvent, IAnimateEventFunction, IAnimateEvents, IAnimateOptions, IAnswer, IAppBase, IAround, IAttrDecorator, IAutoBounds, IAutoBoundsData, IAutoBoxData, IAutoSize, IAxis, IAxisAlign, IAxisReverse, IBaseLineAlign, IBlendMode, IBlob, IBlobFunction, IBoolean, IBooleanMap, IBounds, IBoundsData, IBoundsDataFn, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICubicBezierEasing, ICursorConfig, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, ICustomEasingFunction, IDataProcessor, IDataTypeHandle, IDirection, IDirection4, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventMap, IEventOption, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFilter, IFindCondition, IFindMethod, IFinder, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IFunctionMap, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, IJSONOptions, IKeepTouchData, IKeyEvent, ILayoutAttr, ILayoutBlockData, ILayoutBoundsData, ILayoutChangedData, ILayoutData, ILayoutEvent, ILayouter, ILayouterConfig, ILeaf, ILeafArrayMap, ILeafAttrData, ILeafAttrDescriptor, ILeafAttrDescriptorFn, ILeafBounds, ILeafBoundsModule, ILeafComputedData, ILeafData, ILeafDataOptions, ILeafDataProxy, ILeafDataProxyModule, ILeafEventer, ILeafEventerModule, ILeafHit, ILeafHitModule, ILeafInputData, ILeafLayout, ILeafLevelList, ILeafList, ILeafListItemCallback, ILeafMap, ILeafMatrix, ILeafMatrixModule, ILeafRender, ILeafRenderModule, ILeaferAttrData, ILeaferBase, ILeaferCanvas, ILeaferCanvasConfig, ILeaferCanvasView, ILeaferConfig, ILeaferEvent, ILeaferImage, ILeaferImageCacheCanvas, ILeaferImageConfig, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandObject, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPicker, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IResource, IRotateEvent, IRotationPointData, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISide, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IStepsEasing, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITransformer, ITransition, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IZoomConfig, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandObject, MCommandData, MoveToCommandObject, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };