@leafer/interface 1.6.7 → 1.8.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.6.7",
3
+ "version": "1.8.0",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- import { ILeaf, ICursorType } from '../display/ILeaf'
1
+ import { ILeaf, ICursorType, IAlign } from '../display/ILeaf'
2
2
  import { IRenderer, IRendererConfig } from '../renderer/IRenderer'
3
3
  import { IHitCanvas, ILeaferCanvas, ILeaferCanvasConfig, IHitCanvasConfig } from '../canvas/ILeaferCanvas'
4
4
  import { ILayouter, ILayouterConfig } from '../layouter/ILayouter'
@@ -83,7 +83,7 @@ export interface ILeaferAttrData {
83
83
  waitViewReady(item: IFunction, bind?: IObject): void
84
84
  waitViewCompleted(item: IFunction, bind?: IObject): void
85
85
 
86
- zoom(zoomType: IZoomType, padding?: IFourNumber, fixedScale?: boolean, transition?: ITransition): IBoundsData
86
+ zoom(zoomType: IZoomType, optionsOrPadding?: IZoomOptions | IFourNumber, scroll?: 'x' | 'y' | boolean, transition?: ITransition): IBoundsData
87
87
  getValidMove(moveX: number, moveY: number): IPointData
88
88
  getValidScale(changeScale: number): number
89
89
 
@@ -97,6 +97,13 @@ export interface ILeaferAttrData {
97
97
 
98
98
  export type IZoomType = 'in' | 'out' | 'fit' | 'fit-width' | 'fit-height' | number | ILeaf | ILeaf[] | IBoundsData
99
99
 
100
+ export interface IZoomOptions {
101
+ padding?: IFourNumber
102
+ scroll?: 'x' | 'y' | boolean
103
+ transition?: ITransition
104
+ origin?: IPointData | IAlign
105
+ }
106
+
100
107
  export interface ILeaferBase extends IZoomView, IControl, ILeaferAttrData {
101
108
  readonly isApp: boolean
102
109
  readonly app: ILeaferBase
@@ -118,8 +118,8 @@ interface ICanvasMethod {
118
118
  hitPixel(radiusPoint: IRadiusPointData, offset?: IPointData, scale?: number): boolean
119
119
 
120
120
 
121
- setStroke(strokeStyle: string | object, strokeWidth: number, options?: ICanvasStrokeOptions): void
122
- setStrokeOptions(options: ICanvasStrokeOptions): void
121
+ setStroke(strokeStyle: string | object, strokeWidth: number, options?: ICanvasStrokeOptions, childOptions?: ICanvasStrokeOptions): void
122
+ setStrokeOptions(options: ICanvasStrokeOptions, childOptions?: ICanvasStrokeOptions): void
123
123
 
124
124
  setWorld(matrix: IMatrixData, parentMatrix?: IMatrixData): void
125
125
  useWorldTransform(worldTransform?: IMatrixData): void
@@ -5,7 +5,7 @@ import { ILeaferCanvas, IHitCanvas } from '../canvas/ILeaferCanvas'
5
5
  import { IRenderOptions } from '../renderer/IRenderer'
6
6
 
7
7
  import { IObject, INumber, IBoolean, IValue, IString, IPathString, IFourNumber } from '../data/IData'
8
- import { IMatrixWithBoundsData, IMatrix, IPointData, IBoundsData, IRadiusPointData, ILayoutBoundsData, IMatrixData, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAutoBoxData, IUnitPointData, IRotationPointData } from '../math/IMath'
8
+ import { IMatrixWithBoundsData, IMatrix, IPointData, IBoundsData, IRadiusPointData, ILayoutBoundsData, IMatrixData, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAutoBoxData, IUnitPointData, IRotationPointData, IScaleData } from '../math/IMath'
9
9
  import { IFunction } from '../function/IFunction'
10
10
 
11
11
  import { ILeafDataProxy } from './module/ILeafDataProxy'
@@ -258,6 +258,8 @@ export interface ILeafAttrData {
258
258
  lazy?: IBoolean
259
259
  pixelRatio?: INumber
260
260
 
261
+ renderSpread?: INumber // 扩大渲染边界
262
+
261
263
  path?: IPathCommandData | IPathCommandObject[] | IPathString
262
264
  windingRule?: IWindingRule
263
265
  closed?: IBoolean
@@ -359,6 +361,8 @@ export interface ILeafComputedData {
359
361
  lazy?: boolean
360
362
  pixelRatio?: number
361
363
 
364
+ renderSpread?: number
365
+
362
366
  path?: IPathCommandData
363
367
  windingRule?: IWindingRule
364
368
  closed?: boolean
@@ -424,6 +428,7 @@ export interface ILeafComputedData {
424
428
  readonly __isLinePath: boolean
425
429
  readonly __blendMode: string
426
430
 
431
+ __useStroke?: boolean
427
432
  __useArrow?: boolean
428
433
  __useEffect?: boolean
429
434
 
@@ -514,6 +519,9 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
514
519
 
515
520
  readonly pathInputed: boolean
516
521
 
522
+ readonly isAutoWidth?: boolean
523
+ readonly isAutoHeight?: boolean
524
+
517
525
  destroyed: boolean
518
526
 
519
527
  reset(data?: ILeafInputData): void
@@ -596,6 +604,8 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
596
604
 
597
605
  // convert
598
606
  __getNowWorld(options: IRenderOptions): IMatrixWithBoundsScaleData // when render use other matrix
607
+ getClampRenderScale(): number // 获取当前渲染元素的缩放比例,限制最小为1
608
+ getRenderScaleData(abs?: boolean, scaleFixed?: boolean): IScaleData // 当前渲染的比例数据,必须马上分解使用
599
609
 
600
610
  getTransform(relative?: ILocationType | ILeaf): IMatrixData
601
611
 
@@ -662,7 +672,8 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
662
672
  __draw(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void
663
673
 
664
674
  __clip(canvas: ILeaferCanvas, options: IRenderOptions): void
665
- __renderShape(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void
675
+ __renderShape(canvas: ILeaferCanvas, options: IRenderOptions): void
676
+ __drawShape(canvas: ILeaferCanvas, options: IRenderOptions): void
666
677
 
667
678
  __updateWorldOpacity(): void
668
679
  __updateChange(): void
@@ -10,7 +10,8 @@ export interface ILeafRender {
10
10
  __drawFast?(canvas: ILeaferCanvas, options: IRenderOptions): void
11
11
 
12
12
  __clip?(_canvas: ILeaferCanvas, _options: IRenderOptions): void
13
- __renderShape?(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void
13
+ __renderShape?(canvas: ILeaferCanvas, options: IRenderOptions): void
14
+ __drawShape?(canvas: ILeaferCanvas, options: IRenderOptions): void
14
15
 
15
16
  __updateWorldOpacity?(): void
16
17
  __updateChange?(): void
@@ -35,6 +35,7 @@ export interface IExportResult {
35
35
  height?: number
36
36
  renderBounds?: IBoundsData
37
37
  trimBounds?: IBoundsData
38
+ error?: any
38
39
  }
39
40
 
40
41
  export interface IExportResultFunction {
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { IAppBase } from './app/IApp'
2
- export { ILeaferBase, ILeaferAttrData, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILeaferConfig, ICreator, IUICreator, IZoomType } from './app/ILeafer'
2
+ export { ILeaferBase, ILeaferAttrData, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILeaferConfig, ICreator, IUICreator, IZoomType, IZoomOptions } from './app/ILeafer'
3
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'
@@ -138,6 +138,7 @@ export interface IWheelConfig {
138
138
  }
139
139
 
140
140
  export interface IPointerConfig {
141
+ type?: 'mouse' | 'pointer' | 'touch'
141
142
  snap?: boolean // 交互操作坐标是否对齐屏幕像素,避免出现小数
142
143
 
143
144
  hitRadius?: number
@@ -32,7 +32,7 @@ export interface ILeafLayout {
32
32
  // worldRenderBounds: IBoundsData // use leaf.__world
33
33
 
34
34
  // state
35
- resized: 'scale' | 'inner' | 'local' // (scale | inner) > local
35
+ resized: 'inner' | 'scale' | 'local' // inner > scale > local, 设置了inner之后不能被覆盖
36
36
  waitAutoLayout: boolean
37
37
 
38
38
  // matrix changed
@@ -12,6 +12,11 @@ export interface IRenderOptions {
12
12
  inCamera?: boolean
13
13
  dimOpacity?: number
14
14
  exporting?: boolean // 是否通过 export() 导出渲染
15
+
16
+ // 只渲染外形
17
+ shape?: boolean
18
+ ignoreFill?: boolean, // 绘制外形时忽略fill
19
+ ignoreStroke?: boolean // 绘制外形时忽略stroke
15
20
  }
16
21
 
17
22
  export interface IRendererConfig {
package/types/index.d.ts CHANGED
@@ -877,7 +877,7 @@ interface ILeafLayout {
877
877
  worldContentBounds: IBoundsData;
878
878
  worldBoxBounds: IBoundsData;
879
879
  worldStrokeBounds: IBoundsData;
880
- resized: 'scale' | 'inner' | 'local';
880
+ resized: 'inner' | 'scale' | 'local';
881
881
  waitAutoLayout: boolean;
882
882
  matrixChanged: boolean;
883
883
  scaleChanged: boolean;
@@ -962,6 +962,7 @@ interface IExportResult {
962
962
  height?: number;
963
963
  renderBounds?: IBoundsData;
964
964
  trimBounds?: IBoundsData;
965
+ error?: any;
965
966
  }
966
967
  interface IExportResultFunction {
967
968
  (data: IExportResult): void;
@@ -1051,8 +1052,8 @@ interface ICanvasMethod {
1051
1052
  hitFill(point: IPointData, fillRule?: string): boolean;
1052
1053
  hitStroke(point: IPointData, strokeWidth?: number): boolean;
1053
1054
  hitPixel(radiusPoint: IRadiusPointData, offset?: IPointData, scale?: number): boolean;
1054
- setStroke(strokeStyle: string | object, strokeWidth: number, options?: ICanvasStrokeOptions): void;
1055
- setStrokeOptions(options: ICanvasStrokeOptions): void;
1055
+ setStroke(strokeStyle: string | object, strokeWidth: number, options?: ICanvasStrokeOptions, childOptions?: ICanvasStrokeOptions): void;
1056
+ setStrokeOptions(options: ICanvasStrokeOptions, childOptions?: ICanvasStrokeOptions): void;
1056
1057
  setWorld(matrix: IMatrixData, parentMatrix?: IMatrixData): void;
1057
1058
  useWorldTransform(worldTransform?: IMatrixData): void;
1058
1059
  setWorldShadow(x: number, y: number, blur: number, color?: string): void;
@@ -1133,6 +1134,9 @@ interface IRenderOptions {
1133
1134
  inCamera?: boolean;
1134
1135
  dimOpacity?: number;
1135
1136
  exporting?: boolean;
1137
+ shape?: boolean;
1138
+ ignoreFill?: boolean;
1139
+ ignoreStroke?: boolean;
1136
1140
  }
1137
1141
  interface IRendererConfig {
1138
1142
  usePartRender?: boolean;
@@ -1215,7 +1219,8 @@ interface ILeafRender {
1215
1219
  __draw?(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void;
1216
1220
  __drawFast?(canvas: ILeaferCanvas, options: IRenderOptions): void;
1217
1221
  __clip?(_canvas: ILeaferCanvas, _options: IRenderOptions): void;
1218
- __renderShape?(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void;
1222
+ __renderShape?(canvas: ILeaferCanvas, options: IRenderOptions): void;
1223
+ __drawShape?(canvas: ILeaferCanvas, options: IRenderOptions): void;
1219
1224
  __updateWorldOpacity?(): void;
1220
1225
  __updateChange?(): void;
1221
1226
  }
@@ -1459,6 +1464,7 @@ interface ILeafAttrData {
1459
1464
  around?: IAlign | IUnitPointData;
1460
1465
  lazy?: IBoolean;
1461
1466
  pixelRatio?: INumber;
1467
+ renderSpread?: INumber;
1462
1468
  path?: IPathCommandData | IPathCommandObject[] | IPathString;
1463
1469
  windingRule?: IWindingRule;
1464
1470
  closed?: IBoolean;
@@ -1532,6 +1538,7 @@ interface ILeafComputedData {
1532
1538
  around?: IAlign | IUnitPointData;
1533
1539
  lazy?: boolean;
1534
1540
  pixelRatio?: number;
1541
+ renderSpread?: number;
1535
1542
  path?: IPathCommandData;
1536
1543
  windingRule?: IWindingRule;
1537
1544
  closed?: boolean;
@@ -1577,6 +1584,7 @@ interface ILeafComputedData {
1577
1584
  readonly __useNaturalRatio: boolean;
1578
1585
  readonly __isLinePath: boolean;
1579
1586
  readonly __blendMode: string;
1587
+ __useStroke?: boolean;
1580
1588
  __useArrow?: boolean;
1581
1589
  __useEffect?: boolean;
1582
1590
  __pathInputed?: number;
@@ -1641,6 +1649,8 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1641
1649
  readonly __ignoreHitWorld: boolean;
1642
1650
  readonly __inLazyBounds: boolean;
1643
1651
  readonly pathInputed: boolean;
1652
+ readonly isAutoWidth?: boolean;
1653
+ readonly isAutoHeight?: boolean;
1644
1654
  destroyed: boolean;
1645
1655
  reset(data?: ILeafInputData): void;
1646
1656
  resetCustom(): void;
@@ -1697,6 +1707,8 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1697
1707
  __renderMask(canvas: ILeaferCanvas, options: IRenderOptions): void;
1698
1708
  __renderEraser(canvas: ILeaferCanvas, options: IRenderOptions): void;
1699
1709
  __getNowWorld(options: IRenderOptions): IMatrixWithBoundsScaleData;
1710
+ getClampRenderScale(): number;
1711
+ getRenderScaleData(abs?: boolean, scaleFixed?: boolean): IScaleData;
1700
1712
  getTransform(relative?: ILocationType | ILeaf): IMatrixData;
1701
1713
  getBounds(type?: IBoundsType, relative?: ILocationType | ILeaf): IBoundsData;
1702
1714
  getLayoutBounds(type?: IBoundsType, relative?: ILocationType | ILeaf, unscale?: boolean): ILayoutBoundsData;
@@ -1746,7 +1758,8 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1746
1758
  __drawFast(canvas: ILeaferCanvas, options: IRenderOptions): void;
1747
1759
  __draw(canvas: ILeaferCanvas, options: IRenderOptions, originCanvas?: ILeaferCanvas): void;
1748
1760
  __clip(canvas: ILeaferCanvas, options: IRenderOptions): void;
1749
- __renderShape(canvas: ILeaferCanvas, options: IRenderOptions, ignoreFill?: boolean, ignoreStroke?: boolean): void;
1761
+ __renderShape(canvas: ILeaferCanvas, options: IRenderOptions): void;
1762
+ __drawShape(canvas: ILeaferCanvas, options: IRenderOptions): void;
1750
1763
  __updateWorldOpacity(): void;
1751
1764
  __updateChange(): void;
1752
1765
  __drawPath(canvas: ILeaferCanvas): void;
@@ -2000,6 +2013,7 @@ interface IWheelConfig {
2000
2013
  preventDefault?: boolean;
2001
2014
  }
2002
2015
  interface IPointerConfig {
2016
+ type?: 'mouse' | 'pointer' | 'touch';
2003
2017
  snap?: boolean;
2004
2018
  hitRadius?: number;
2005
2019
  through?: boolean;
@@ -2082,7 +2096,7 @@ interface ILeaferAttrData {
2082
2096
  waitReady(item: IFunction, bind?: IObject): void;
2083
2097
  waitViewReady(item: IFunction, bind?: IObject): void;
2084
2098
  waitViewCompleted(item: IFunction, bind?: IObject): void;
2085
- zoom(zoomType: IZoomType, padding?: IFourNumber, fixedScale?: boolean, transition?: ITransition): IBoundsData;
2099
+ zoom(zoomType: IZoomType, optionsOrPadding?: IZoomOptions | IFourNumber, scroll?: 'x' | 'y' | boolean, transition?: ITransition): IBoundsData;
2086
2100
  getValidMove(moveX: number, moveY: number): IPointData;
2087
2101
  getValidScale(changeScale: number): number;
2088
2102
  getWorldPointByClient(clientPoint: IClientPointData, updateClient?: boolean): IPointData;
@@ -2092,6 +2106,12 @@ interface ILeaferAttrData {
2092
2106
  receiveEvent(event: any): void;
2093
2107
  }
2094
2108
  type IZoomType = 'in' | 'out' | 'fit' | 'fit-width' | 'fit-height' | number | ILeaf | ILeaf[] | IBoundsData;
2109
+ interface IZoomOptions {
2110
+ padding?: IFourNumber;
2111
+ scroll?: 'x' | 'y' | boolean;
2112
+ transition?: ITransition;
2113
+ origin?: IPointData | IAlign;
2114
+ }
2095
2115
  interface ILeaferBase extends IZoomView, IControl, ILeaferAttrData {
2096
2116
  readonly isApp: boolean;
2097
2117
  readonly app: ILeaferBase;
@@ -2323,4 +2343,4 @@ interface ITransformer {
2323
2343
  destroy(): void;
2324
2344
  }
2325
2345
 
2326
- 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, IBoundsEvent, 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, 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, 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, IMatrixWithOptionHalfData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IOptionSizeData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandObject, IPathCreator, IPathDrawer, 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, 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, IValueFunction, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IWindingRuleData, IZoomConfig, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandObject, MCommandData, MoveToCommandObject, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
2346
+ 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, IBoundsEvent, 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, 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, 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, IMatrixWithOptionHalfData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IOptionSizeData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandObject, IPathCreator, IPathDrawer, 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, 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, IValueFunction, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IWindingRuleData, IZoomConfig, IZoomEvent, IZoomOptions, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandObject, MCommandData, MoveToCommandObject, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };