@leafer/interface 1.12.3 → 2.0.0

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.12.3",
3
+ "version": "2.0.0",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -58,6 +58,11 @@ export interface IRangeSize {
58
58
  max?: number
59
59
  }
60
60
 
61
+ export interface IInterlace {
62
+ type: IAxis
63
+ offset: number | IPercentData
64
+ }
65
+
61
66
  export interface IUnitData {
62
67
  type: 'percent' | 'px'
63
68
  value: number
@@ -2,18 +2,22 @@ import { IBlob, ILeaferCanvas } from '../canvas/ILeaferCanvas'
2
2
  import { ICanvasContext2DSettings } from '../canvas/ICanvas'
3
3
  import { ILeaf } from '../display/ILeaf'
4
4
  import { ILocationType } from '../layout/ILeafLayout'
5
- import { IBoundsData, IOptionSizeData, IPointData } from '../math/IMath'
5
+ import { IBoundsData, IBoundsDataWithOptionRotation, IOptionSizeData, IPointData } from '../math/IMath'
6
6
  import { IFourNumber } from '../data/IData'
7
7
 
8
8
  export interface IExportOptions {
9
9
  quality?: number
10
10
  blob?: boolean
11
+
11
12
  scale?: number | IPointData
12
13
  size?: number | IOptionSizeData
14
+
15
+ clip?: IBoundsDataWithOptionRotation
16
+
13
17
  padding?: IFourNumber
14
18
  smooth?: boolean
15
19
  pixelRatio?: number
16
- clip?: IBoundsData
20
+
17
21
  slice?: boolean
18
22
  trim?: boolean
19
23
  fill?: string
@@ -7,7 +7,8 @@ import { ILeaferCanvas } from '../canvas/ILeaferCanvas'
7
7
  import { IProgressData } from '../event/IProgress'
8
8
  import { IImageCrossOrigin } from '../platform/IPlatform'
9
9
  import { ITaskItem } from '../task/ITaskProcessor'
10
- import { IRangeSize } from '../display/ILeaf'
10
+ import { IRangeSize, IInterlace } from '../display/ILeaf'
11
+ import { IFunction } from '../function/IFunction'
11
12
 
12
13
  export interface ILeaferImageConfig {
13
14
  url: string
@@ -28,7 +29,7 @@ export interface IImageLOD {
28
29
  }
29
30
 
30
31
  export interface IImageTileLOD {
31
- url: string // 'tile-{level}-{index}-{x}-{y}-{width}-{height}.jpg'
32
+ url: string // 'tile-{level}-{index}-{scale}-{x}-{y}-{width}-{height}.jpg'
32
33
  size: number
33
34
  min?: number
34
35
  }
@@ -51,9 +52,14 @@ export interface ILeaferImagePatternPaint {
51
52
  }
52
53
 
53
54
  export interface ILeaferImageSliceData {
55
+ width: number
56
+ height: number
57
+
58
+ total: number
59
+ columns: number
54
60
  size: number
55
- columns: number,
56
- total: number,
61
+ addSize: number
62
+
57
63
  list?: ILeaferImageSlice[]
58
64
  }
59
65
 
@@ -61,20 +67,25 @@ export interface ILeaferImageSlice {
61
67
  view?: any
62
68
  bounds?: IBoundsData
63
69
  task?: ITaskItem
70
+ destroyed?: boolean
64
71
  }
65
72
 
66
73
  export interface ILeaferImageLevel {
67
74
  level: number
68
75
  scale: number | IPointData
69
76
  view?: any
70
- url?: string
77
+ task?: ITaskItem
78
+ wait?: IFunction[]
79
+
71
80
  slice?: ILeaferImageSliceData
72
81
  use?: number // 引用次数
82
+ destroyed?: boolean
73
83
  }
74
84
 
75
85
  export interface ILeaferImage {
76
86
  readonly innerId: InnerId
77
87
  readonly url: string
88
+ lod?: IImageLOD
78
89
  readonly crossOrigin: IImageCrossOrigin
79
90
 
80
91
  view: any
@@ -96,7 +107,7 @@ export interface ILeaferImage {
96
107
  levels?: ILeaferImageLevel[]
97
108
  levelsRange?: IRangeSize
98
109
  minLevel?: number
99
- loadId?: any
110
+ loadId?: ITaskItem
100
111
 
101
112
  progress?: IProgressData // 加载进度
102
113
 
@@ -106,15 +117,15 @@ export interface ILeaferImage {
106
117
  load(onSuccess?: ILeaferImageOnLoaded, onError?: ILeaferImageOnError, thumbSize?: ISizeData): number
107
118
  unload(index: number, stopEvent?: boolean): void
108
119
  getFull(filters?: IObject): any
109
- getCanvas(width: number, height: number, opacity?: number, filters?: IObject, xGap?: number, yGap?: number, smooth?: boolean): any
120
+ getCanvas(width: number, height: number, opacity?: number, filters?: IObject, xGap?: number, yGap?: number, smooth?: boolean, interlace?: IInterlace): any
110
121
  getPattern(canvas: any, repeat: string | null, transform?: IMatrixData, paint?: IObject): ICanvasPattern
111
122
 
112
123
  getLoadUrl(thumbSize?: ISizeData): string
113
124
  setThumbView(view: number): void
114
- getThumbSize(): ISizeData
125
+ getThumbSize(lod?: IImageLOD): ISizeData
115
126
 
116
127
  getMinLevel(): number
117
- getLevelData(_level: number): ILeaferImageLevel
128
+ getLevelData(level: number, width?: number, height?: number): ILeaferImageLevel
118
129
  clearLevels(checkUse?: boolean): void
119
130
 
120
131
  destroy(): void
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { IAppBase } from './app/IApp'
2
2
  export { ILeaferBase, ILeaferAttrData, ILeaferType, ILeaferMode, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILeaferConfig, ICreator, IUICreator, IZoomType, IZoomOptions } 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, IScaleFixed, IHitType, IMaskType, IEraserType, IBlendMode, IEditSize, IDragBoundsType, IImageCursor, ICursorType, IStateStyleType, IDirection, IDirection4, IAround, IFilter, 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, IInterlace, IPercentData, IUnitData, IConstraint, IConstraintType, IScaleFixed, IHitType, IMaskType, IEraserType, IBlendMode, IEditSize, IDragBoundsType, 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
 
@@ -56,7 +56,7 @@ export { ITransformer } from './interaction/ITransformer'
56
56
 
57
57
  export { INumber, IBoolean, IString, IValue, IFourNumber, IPathString, ITimer, IObject, INumberMap, IStringMap, IBooleanMap, IFunctionMap, IPointDataMap, IDataTypeHandle } from './data/IData'
58
58
  export { ILeafList, ILeafArrayMap, ILeafMap, ILeafLevelList, ILeafListItemCallback } from './data/IList'
59
- export { IPoint, IPointData, IFromToData, IUnitPointData, IRotationPointData, IScrollPointData, IClientPointData, IRadiusPointData, ISize, ISizeData, IOptionSizeData, IScreenSizeData, IBounds, IBoundsData, IBoundsDataFn, IOffsetBoundsData, ITwoPointBoundsData, IAutoBounds, IAutoBoxData, IAutoBoundsData, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithScaleData, IMatrixWithOptionScaleData, IMatrixWithOptionHalfData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IScaleRotationData, IScaleData, ISkewData, ILayoutBoundsData, ILayoutData, ILayoutAttr } from './math/IMath'
59
+ export { IPoint, IPointData, IFromToData, IUnitPointData, IRotationPointData, IScrollPointData, IClientPointData, IRadiusPointData, ISize, ISizeData, IOptionSizeData, IScreenSizeData, IBounds, IBoundsData, IBoundsDataFn, IOffsetBoundsData, IBoundsDataWithOptionRotation, ITwoPointBoundsData, IAutoBounds, IAutoBoxData, IAutoBoundsData, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithScaleData, IMatrixWithOptionScaleData, IMatrixWithOptionHalfData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IScaleRotationData, IScaleData, ISkewData, ILayoutBoundsData, ILayoutData, ILayoutAttr } from './math/IMath'
60
60
  export { IFunction, IStringFunction, INumberFunction, IObjectFunction, IValueFunction, IPointDataFunction, IAttrDecorator } from './function/IFunction'
61
61
 
62
62
  export { ITransition, IAnimateEasing, ICubicBezierEasing, IStepsEasing, IAnimateEasingFunction, IAnimateEasingName, IAnimateEnding, IAnimateEvents, IAnimateEventFunction, ICustomEasingFunction, IAnimateOptions } from './animate/ITransition'
@@ -8,7 +8,7 @@ import { IBounds } from '../math/IMath'
8
8
  import { IControl } from '../control/IControl'
9
9
  import { IKeepTouchData } from '../event/IEvent'
10
10
  import { ILeaferCanvas } from '../canvas/ILeaferCanvas'
11
- import { IObject } from '../data/IData'
11
+ import { IFourNumber, IObject } from '../data/IData'
12
12
 
13
13
 
14
14
  export interface IInteraction extends IControl {
@@ -118,6 +118,7 @@ export interface IMoveConfig {
118
118
  holdMiddleKey?: boolean
119
119
  holdRightKey?: boolean
120
120
  scroll?: boolean | 'x' | 'y' | 'limit' | 'x-limit' | 'y-limit'
121
+ scrollSpread?: IFourNumber
121
122
  drag?: boolean | 'auto'
122
123
  dragAnimate?: boolean | number
123
124
  dragEmpty?: boolean
package/src/math/IMath.ts CHANGED
@@ -84,6 +84,10 @@ export interface IOffsetBoundsData extends IBoundsData {
84
84
  offsetY: number
85
85
  }
86
86
 
87
+ export interface IBoundsDataWithOptionRotation extends IBoundsData {
88
+ rotation?: number
89
+ }
90
+
87
91
  export interface IBoundsDataFn {
88
92
  (target: any, index?: number): IBoundsData
89
93
  }
@@ -1,6 +1,6 @@
1
1
  import { IFunction, IStringFunction } from '../function/IFunction'
2
2
  import { ILeaferCanvas } from '../canvas/ILeaferCanvas'
3
- import { ILeaf } from '../display/ILeaf'
3
+ import { IInterlace, ILeaf } from '../display/ILeaf'
4
4
  import { IExportFileType, IExportImageType } from '../file/IFileType'
5
5
  import { IBoundsData, ISizeData, IMatrixData } from '../math/IMath'
6
6
  import { IObject } from '../data/IData'
@@ -73,7 +73,8 @@ export interface IPlatform {
73
73
  isLarge(size: ISizeData, scaleX?: number, scaleY?: number, largeSize?: number): boolean // 比 maxCacheSize 尺寸更大
74
74
  isSuperLarge(size: ISizeData, scaleX?: number, scaleY?: number): boolean // 比 maxPatternSize 尺寸更大
75
75
  getRealURL: IStringFunction // 处理前缀、后缀
76
- resize(image: any, width: number, height: number, xGap?: number, yGap?: number, clip?: IBoundsData, smooth?: boolean, opacity?: number, filters?: IObject): any
76
+ resize(image: any, width: number, height: number, xGap?: number, yGap?: number, clip?: IBoundsData, smooth?: boolean, opacity?: number, filters?: IObject, interlace?: IInterlace): any
77
+ canUse(image: any): boolean
77
78
  setPatternTransform(pattern: ICanvasPattern, transform?: IMatrixData, paint?: IObject): void
78
79
  },
79
80
 
@@ -12,7 +12,9 @@ export interface IRenderOptions {
12
12
  hideBounds?: IBounds,
13
13
  matrix?: IMatrixWithScaleData,
14
14
  inCamera?: boolean
15
+
15
16
  exporting?: boolean // 是否通过 export() 导出渲染
17
+ snapshot?: boolean // 是否用于生成快照,如碰撞检测图
16
18
 
17
19
  dimOpacity?: number // 淡化
18
20
  topList?: ILeafList // 收集需要置顶渲染的内容
@@ -29,6 +31,7 @@ export interface IRenderOptions {
29
31
  export interface IRendererConfig {
30
32
  usePartRender?: boolean
31
33
  useCellRender?: boolean | IObject
34
+ ceilPartPixel?: boolean // 取整局部渲染的像素
32
35
  maxFPS?: number
33
36
  fill?: string
34
37
  }
@@ -31,6 +31,7 @@ export interface ITaskItem {
31
31
  isComplete: boolean
32
32
  isCancel: boolean
33
33
  time: number
34
+ task?: IFunction
34
35
  canUse?: IFunction
35
36
  run(): Promise<void>
36
37
  complete(): void
package/types/index.d.ts CHANGED
@@ -64,6 +64,9 @@ interface IOffsetBoundsData extends IBoundsData {
64
64
  offsetX: number;
65
65
  offsetY: number;
66
66
  }
67
+ interface IBoundsDataWithOptionRotation extends IBoundsData {
68
+ rotation?: number;
69
+ }
67
70
  interface IBoundsDataFn {
68
71
  (target: any, index?: number): IBoundsData;
69
72
  }
@@ -992,10 +995,10 @@ interface IExportOptions {
992
995
  blob?: boolean;
993
996
  scale?: number | IPointData;
994
997
  size?: number | IOptionSizeData;
998
+ clip?: IBoundsDataWithOptionRotation;
995
999
  padding?: IFourNumber;
996
1000
  smooth?: boolean;
997
1001
  pixelRatio?: number;
998
- clip?: IBoundsData;
999
1002
  slice?: boolean;
1000
1003
  trim?: boolean;
1001
1004
  fill?: string;
@@ -1187,6 +1190,7 @@ interface IRenderOptions {
1187
1190
  matrix?: IMatrixWithScaleData;
1188
1191
  inCamera?: boolean;
1189
1192
  exporting?: boolean;
1193
+ snapshot?: boolean;
1190
1194
  dimOpacity?: number;
1191
1195
  topList?: ILeafList;
1192
1196
  topRendering?: boolean;
@@ -1198,6 +1202,7 @@ interface IRenderOptions {
1198
1202
  interface IRendererConfig {
1199
1203
  usePartRender?: boolean;
1200
1204
  useCellRender?: boolean | IObject;
1205
+ ceilPartPixel?: boolean;
1201
1206
  maxFPS?: number;
1202
1207
  fill?: string;
1203
1208
  }
@@ -1458,6 +1463,10 @@ interface IRangeSize {
1458
1463
  min?: number;
1459
1464
  max?: number;
1460
1465
  }
1466
+ interface IInterlace {
1467
+ type: IAxis;
1468
+ offset: number | IPercentData;
1469
+ }
1461
1470
  interface IUnitData {
1462
1471
  type: 'percent' | 'px';
1463
1472
  value: number;
@@ -1953,7 +1962,8 @@ interface IPlatform {
1953
1962
  isLarge(size: ISizeData, scaleX?: number, scaleY?: number, largeSize?: number): boolean;
1954
1963
  isSuperLarge(size: ISizeData, scaleX?: number, scaleY?: number): boolean;
1955
1964
  getRealURL: IStringFunction;
1956
- resize(image: any, width: number, height: number, xGap?: number, yGap?: number, clip?: IBoundsData, smooth?: boolean, opacity?: number, filters?: IObject): any;
1965
+ resize(image: any, width: number, height: number, xGap?: number, yGap?: number, clip?: IBoundsData, smooth?: boolean, opacity?: number, filters?: IObject, interlace?: IInterlace): any;
1966
+ canUse(image: any): boolean;
1957
1967
  setPatternTransform(pattern: ICanvasPattern, transform?: IMatrixData, paint?: IObject): void;
1958
1968
  };
1959
1969
  canCreateImageBitmap?: boolean;
@@ -2003,6 +2013,7 @@ interface ITaskItem {
2003
2013
  isComplete: boolean;
2004
2014
  isCancel: boolean;
2005
2015
  time: number;
2016
+ task?: IFunction;
2006
2017
  canUse?: IFunction;
2007
2018
  run(): Promise<void>;
2008
2019
  complete(): void;
@@ -2051,27 +2062,34 @@ interface ILeaferImagePatternPaint {
2051
2062
  transform: IMatrixData;
2052
2063
  }
2053
2064
  interface ILeaferImageSliceData {
2054
- size: number;
2055
- columns: number;
2065
+ width: number;
2066
+ height: number;
2056
2067
  total: number;
2068
+ columns: number;
2069
+ size: number;
2070
+ addSize: number;
2057
2071
  list?: ILeaferImageSlice[];
2058
2072
  }
2059
2073
  interface ILeaferImageSlice {
2060
2074
  view?: any;
2061
2075
  bounds?: IBoundsData;
2062
2076
  task?: ITaskItem;
2077
+ destroyed?: boolean;
2063
2078
  }
2064
2079
  interface ILeaferImageLevel {
2065
2080
  level: number;
2066
2081
  scale: number | IPointData;
2067
2082
  view?: any;
2068
- url?: string;
2083
+ task?: ITaskItem;
2084
+ wait?: IFunction[];
2069
2085
  slice?: ILeaferImageSliceData;
2070
2086
  use?: number;
2087
+ destroyed?: boolean;
2071
2088
  }
2072
2089
  interface ILeaferImage {
2073
2090
  readonly innerId: InnerId;
2074
2091
  readonly url: string;
2092
+ lod?: IImageLOD;
2075
2093
  readonly crossOrigin: IImageCrossOrigin;
2076
2094
  view: any;
2077
2095
  width: number;
@@ -2088,20 +2106,20 @@ interface ILeaferImage {
2088
2106
  levels?: ILeaferImageLevel[];
2089
2107
  levelsRange?: IRangeSize;
2090
2108
  minLevel?: number;
2091
- loadId?: any;
2109
+ loadId?: ITaskItem;
2092
2110
  progress?: IProgressData;
2093
2111
  use: number;
2094
2112
  config: ILeaferImageConfig;
2095
2113
  load(onSuccess?: ILeaferImageOnLoaded, onError?: ILeaferImageOnError, thumbSize?: ISizeData): number;
2096
2114
  unload(index: number, stopEvent?: boolean): void;
2097
2115
  getFull(filters?: IObject): any;
2098
- getCanvas(width: number, height: number, opacity?: number, filters?: IObject, xGap?: number, yGap?: number, smooth?: boolean): any;
2116
+ getCanvas(width: number, height: number, opacity?: number, filters?: IObject, xGap?: number, yGap?: number, smooth?: boolean, interlace?: IInterlace): any;
2099
2117
  getPattern(canvas: any, repeat: string | null, transform?: IMatrixData, paint?: IObject): ICanvasPattern;
2100
2118
  getLoadUrl(thumbSize?: ISizeData): string;
2101
2119
  setThumbView(view: number): void;
2102
- getThumbSize(): ISizeData;
2120
+ getThumbSize(lod?: IImageLOD): ISizeData;
2103
2121
  getMinLevel(): number;
2104
- getLevelData(_level: number): ILeaferImageLevel;
2122
+ getLevelData(level: number, width?: number, height?: number): ILeaferImageLevel;
2105
2123
  clearLevels(checkUse?: boolean): void;
2106
2124
  destroy(): void;
2107
2125
  }
@@ -2280,6 +2298,7 @@ interface IMoveConfig {
2280
2298
  holdMiddleKey?: boolean;
2281
2299
  holdRightKey?: boolean;
2282
2300
  scroll?: boolean | 'x' | 'y' | 'limit' | 'x-limit' | 'y-limit';
2301
+ scrollSpread?: IFourNumber;
2283
2302
  drag?: boolean | 'auto';
2284
2303
  dragAnimate?: boolean | number;
2285
2304
  dragEmpty?: boolean;
@@ -2516,4 +2535,4 @@ interface ITransformer {
2516
2535
  }
2517
2536
 
2518
2537
  export { PathNodeHandleType };
2519
- export type { ACommandData, ArcCommandData, ArcToCommandData, BezierCurveToCommandNode, BezierCurveToCommandObject, CCommandData, CanvasPathCommand, ClosePathCommandNode, 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, IBoundsEvent, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasSizeAttr, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICubicBezierEasing, ICursorConfig, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, ICustomEasingFunction, IDataProcessor, IDataTypeHandle, IDirection, IDirection4, IDragBoundsType, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventOption, IEventParams, IEventParamsMap, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFilter, IFindCondition, IFindMethod, IFinder, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IFunctionMap, IGap, IGestureType, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCrossOrigin, IImageCursor, IImageEvent, IImageLOD, IImageManager, IImageTileLOD, IInteraction, IInteractionCanvas, IInteractionConfig, IJSONOptions, IKeepTouchData, IKeyCodes, 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, ILeaferImageLevel, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferImageSlice, ILeaferImageSliceData, ILeaferMode, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionHalfData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IOptionSizeData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandNode, IPathCommandNodeBase, IPathCommandObject, IPathCreator, IPathDrawer, IPathNodeBase, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPicker, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IProgressData, IProgressFunction, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IResource, IRotateEvent, IRotationPointData, IScaleData, IScaleFixed, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, IShortcutKeyCodes, IShortcutKeys, IShortcutKeysCheck, ISide, ISingleGestureConfig, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IStepsEasing, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITouchEvent, ITransformer, ITransition, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IValueFunction, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IWindingRuleData, IZoomConfig, IZoomEvent, IZoomOptions, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandNode, LineToCommandObject, MCommandData, MoveToCommandNode, MoveToCommandObject, PathNodeHandleName, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
2538
+ export type { ACommandData, ArcCommandData, ArcToCommandData, BezierCurveToCommandNode, BezierCurveToCommandObject, CCommandData, CanvasPathCommand, ClosePathCommandNode, 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, IBoundsDataWithOptionRotation, IBoundsEvent, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasSizeAttr, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICubicBezierEasing, ICursorConfig, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, ICustomEasingFunction, IDataProcessor, IDataTypeHandle, IDirection, IDirection4, IDragBoundsType, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventOption, IEventParams, IEventParamsMap, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFilter, IFindCondition, IFindMethod, IFinder, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IFunctionMap, IGap, IGestureType, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCrossOrigin, IImageCursor, IImageEvent, IImageLOD, IImageManager, IImageTileLOD, IInteraction, IInteractionCanvas, IInteractionConfig, IInterlace, IJSONOptions, IKeepTouchData, IKeyCodes, 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, ILeaferImageLevel, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferImageSlice, ILeaferImageSliceData, ILeaferMode, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionHalfData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IOptionSizeData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandNode, IPathCommandNodeBase, IPathCommandObject, IPathCreator, IPathDrawer, IPathNodeBase, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPicker, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IProgressData, IProgressFunction, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IResource, IRotateEvent, IRotationPointData, IScaleData, IScaleFixed, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, IShortcutKeyCodes, IShortcutKeys, IShortcutKeysCheck, ISide, ISingleGestureConfig, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IStepsEasing, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITouchEvent, ITransformer, ITransition, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IValueFunction, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IWindingRuleData, IZoomConfig, IZoomEvent, IZoomOptions, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandNode, LineToCommandObject, MCommandData, MoveToCommandNode, MoveToCommandObject, PathNodeHandleName, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };