@leafer/interface 1.0.1 → 1.0.2
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 +1 -1
- package/src/app/ILeafer.ts +5 -1
- package/src/canvas/ISkiaCanvas.ts +1 -1
- package/src/display/ILeaf.ts +6 -4
- package/src/display/module/ILeafBounds.ts +1 -1
- package/src/file/IExport.ts +3 -2
- package/src/index.ts +2 -2
- package/src/interaction/IInteraction.ts +7 -1
- package/src/math/IMath.ts +3 -2
- package/src/platform/IPlatform.ts +1 -0
- package/types/index.d.ts +20 -9
package/package.json
CHANGED
package/src/app/ILeafer.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { IControl } from '../control/IControl'
|
|
|
17
17
|
import { IFunction } from '../function/IFunction'
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
export type ILeaferType = 'draw' | 'editor' | 'design' | 'board' | 'document' | 'app' | 'website' | 'game' | 'player' | 'chart' | 'custom'
|
|
20
|
+
export type ILeaferType = 'draw' | 'block' | 'editor' | 'design' | 'board' | 'document' | 'app' | 'website' | 'game' | 'player' | 'chart' | 'custom'
|
|
21
21
|
export interface ILeaferConfig extends IRendererConfig, ILeaferCanvasConfig, IInteractionConfig, ILayouterConfig {
|
|
22
22
|
start?: boolean
|
|
23
23
|
type?: ILeaferType
|
|
@@ -83,6 +83,10 @@ export interface ILeaferAttrData {
|
|
|
83
83
|
getValidScale(changeScale: number): number
|
|
84
84
|
|
|
85
85
|
getWorldPointByClient(clientPoint: IClientPointData, updateClient?: boolean): IPointData
|
|
86
|
+
getPagePointByClient(clientPoint: IClientPointData, updateClient?: boolean): IPointData
|
|
87
|
+
updateClientBounds(): void
|
|
88
|
+
|
|
89
|
+
receiveEvent(event: any): void
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
export type IZoomType = 'in' | 'out' | 'fit' | 'fit-width' | 'fit-height' | number | ILeaf | ILeaf[] | IBoundsData
|
package/src/display/ILeaf.ts
CHANGED
|
@@ -119,6 +119,7 @@ export interface ILeafAttrData {
|
|
|
119
119
|
data: IObject
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
export type ISide = 'width' | 'height'
|
|
122
123
|
|
|
123
124
|
export type IAxis = 'x' | 'y'
|
|
124
125
|
|
|
@@ -485,8 +486,8 @@ export interface ILeafComputedData {
|
|
|
485
486
|
|
|
486
487
|
readonly __autoWidth?: boolean
|
|
487
488
|
readonly __autoHeight?: boolean
|
|
488
|
-
readonly __autoSide?: boolean
|
|
489
|
-
readonly __autoSize?: boolean
|
|
489
|
+
readonly __autoSide?: boolean // 自动宽或自动高
|
|
490
|
+
readonly __autoSize?: boolean // 自动宽高
|
|
490
491
|
|
|
491
492
|
readonly __useNaturalRatio: boolean // 宽高存在一个值时,另一个自动值是否采用natural尺寸比例
|
|
492
493
|
readonly __isLinePath: boolean
|
|
@@ -629,7 +630,7 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
629
630
|
__updateLocalRenderBounds(): void
|
|
630
631
|
|
|
631
632
|
__updateContentBounds(): void
|
|
632
|
-
__updateBoxBounds(): void
|
|
633
|
+
__updateBoxBounds(secondLayout?: boolean): void
|
|
633
634
|
__updateStrokeBounds(): void
|
|
634
635
|
__updateRenderBounds(): void
|
|
635
636
|
|
|
@@ -677,8 +678,9 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
677
678
|
// transform
|
|
678
679
|
setTransform(transform?: IMatrixData, resize?: boolean): void
|
|
679
680
|
transform(transform?: IMatrixData, resize?: boolean): void
|
|
680
|
-
|
|
681
681
|
move(x: number | IPointData, y?: number): void
|
|
682
|
+
|
|
683
|
+
moveInner(x: number | IPointData, y?: number): void
|
|
682
684
|
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number, resize?: boolean): void
|
|
683
685
|
rotateOf(origin: IPointData | IAlign, rotation: number): void
|
|
684
686
|
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean): void
|
|
@@ -10,7 +10,7 @@ export interface ILeafBounds {
|
|
|
10
10
|
__updateLocalStrokeBounds?(): void
|
|
11
11
|
__updateLocalRenderBounds?(): void
|
|
12
12
|
|
|
13
|
-
__updateBoxBounds?(): void
|
|
13
|
+
__updateBoxBounds?(secondLayout?: boolean): void
|
|
14
14
|
__updateStrokeBounds?(): void
|
|
15
15
|
__updateRenderBounds?(): void
|
|
16
16
|
|
package/src/file/IExport.ts
CHANGED
|
@@ -2,12 +2,13 @@ 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 } from '../math/IMath'
|
|
5
|
+
import { IBoundsData, IPointData, ISizeData } from '../math/IMath'
|
|
6
6
|
|
|
7
7
|
export interface IExportOptions {
|
|
8
8
|
quality?: number
|
|
9
9
|
blob?: boolean
|
|
10
|
-
scale?: number
|
|
10
|
+
scale?: number | IPointData
|
|
11
|
+
size?: number | ISizeData
|
|
11
12
|
smooth?: boolean
|
|
12
13
|
pixelRatio?: number
|
|
13
14
|
slice?: boolean
|
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, 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, ILeafAttrDescriptor, ILeafAttrDescriptorFn } from './display/ILeaf'
|
|
4
4
|
export { IBranch } from './display/IBranch'
|
|
5
5
|
export { IZoomView } from './display/IView'
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ export { InnerId, IEventer, IEventMap, IEventListener, IEventOption, IEventListe
|
|
|
47
47
|
export { IEventTarget, IEvent, ILeaferEvent, IPropertyEvent, ILayoutEvent, IRenderEvent, IAnimateEvent, IChildEvent, IResizeEvent, IResizeEventListener, IUpdateEvent, IWatchEvent, IMultiTouchData, IKeepTouchData } from './event/IEvent'
|
|
48
48
|
export { IUIEvent, IPointerEvent, PointerType, IDragEvent, IDropEvent, ISwipeEvent, IMoveEvent, IZoomEvent, IRotateEvent, IKeyEvent, IImageEvent } from './event/IUIEvent'
|
|
49
49
|
export { ICursorTypeMap, ICursorRotate, ICursorRotateMap } from './interaction/ICursor'
|
|
50
|
-
export { IInteraction, IInteractionCanvas, IInteractionConfig, IWheelConfig, IPointerConfig } from './interaction/IInteraction'
|
|
50
|
+
export { IInteraction, IInteractionCanvas, IInteractionConfig, IWheelConfig, ITouchConfig, IPointerConfig } from './interaction/IInteraction'
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
export { INumber, IBoolean, IString, IValue, IFourNumber, IPathString, ITimer, IObject, INumberMap, IStringMap, IBooleanMap, IFunctionMap, IPointDataMap, IDataTypeHandle } from './data/IData'
|
|
@@ -90,6 +90,7 @@ export interface IInteractionCanvas extends ILeaferCanvas {
|
|
|
90
90
|
export interface IInteractionConfig {
|
|
91
91
|
wheel?: IWheelConfig
|
|
92
92
|
pointer?: IPointerConfig
|
|
93
|
+
touch?: ITouchConfig
|
|
93
94
|
zoom?: IZoomConfig
|
|
94
95
|
move?: IMoveConfig
|
|
95
96
|
eventer?: IObject
|
|
@@ -109,7 +110,7 @@ export interface IMoveConfig {
|
|
|
109
110
|
holdMiddleKey?: boolean
|
|
110
111
|
holdRightKey?: boolean
|
|
111
112
|
scroll?: boolean | 'limit'
|
|
112
|
-
drag?: boolean
|
|
113
|
+
drag?: boolean | 'auto'
|
|
113
114
|
dragAnimate?: boolean
|
|
114
115
|
dragEmpty?: boolean
|
|
115
116
|
dragOut?: boolean
|
|
@@ -148,6 +149,11 @@ export interface IPointerConfig {
|
|
|
148
149
|
preventDefaultMenu?: boolean
|
|
149
150
|
}
|
|
150
151
|
|
|
152
|
+
export interface ITouchConfig {
|
|
153
|
+
preventDefault?: boolean | 'auto'
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
151
157
|
export interface ICursorConfig {
|
|
152
158
|
stop?: boolean
|
|
153
159
|
}
|
package/src/math/IMath.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IFourNumber, IObject } from '../data/IData'
|
|
2
|
+
import { ISide } from '../display/ILeaf'
|
|
2
3
|
|
|
3
4
|
export interface IPointData {
|
|
4
5
|
x: number
|
|
@@ -91,8 +92,8 @@ export interface IBounds extends IBoundsData, ITwoPointBoundsData {
|
|
|
91
92
|
toInnerOf(matrix: IMatrixData, to?: IBoundsData): IBounds
|
|
92
93
|
getFitMatrix(put: IBoundsData, baseScale?: number): IMatrix
|
|
93
94
|
|
|
94
|
-
spread(fourNumber: IFourNumber): IBounds
|
|
95
|
-
shrink(fourNumber: IFourNumber): IBounds
|
|
95
|
+
spread(fourNumber: IFourNumber, side?: ISide): IBounds
|
|
96
|
+
shrink(fourNumber: IFourNumber, side?: ISide): IBounds
|
|
96
97
|
ceil(): IBounds
|
|
97
98
|
unsign(): IBounds
|
|
98
99
|
float(maxLength?: number): IBounds
|
package/types/index.d.ts
CHANGED
|
@@ -72,8 +72,8 @@ interface IBounds extends IBoundsData, ITwoPointBoundsData {
|
|
|
72
72
|
toOuterOf(matrix: IMatrixData, to?: IBoundsData): IBounds;
|
|
73
73
|
toInnerOf(matrix: IMatrixData, to?: IBoundsData): IBounds;
|
|
74
74
|
getFitMatrix(put: IBoundsData, baseScale?: number): IMatrix;
|
|
75
|
-
spread(fourNumber: IFourNumber): IBounds;
|
|
76
|
-
shrink(fourNumber: IFourNumber): IBounds;
|
|
75
|
+
spread(fourNumber: IFourNumber, side?: ISide): IBounds;
|
|
76
|
+
shrink(fourNumber: IFourNumber, side?: ISide): IBounds;
|
|
77
77
|
ceil(): IBounds;
|
|
78
78
|
unsign(): IBounds;
|
|
79
79
|
float(maxLength?: number): IBounds;
|
|
@@ -886,7 +886,8 @@ interface ILeafLayout {
|
|
|
886
886
|
interface IExportOptions {
|
|
887
887
|
quality?: number;
|
|
888
888
|
blob?: boolean;
|
|
889
|
-
scale?: number;
|
|
889
|
+
scale?: number | IPointData;
|
|
890
|
+
size?: number | ISizeData;
|
|
890
891
|
smooth?: boolean;
|
|
891
892
|
pixelRatio?: number;
|
|
892
893
|
slice?: boolean;
|
|
@@ -1122,7 +1123,7 @@ interface ILeafBounds {
|
|
|
1122
1123
|
__updateLocalBoxBounds?(): void;
|
|
1123
1124
|
__updateLocalStrokeBounds?(): void;
|
|
1124
1125
|
__updateLocalRenderBounds?(): void;
|
|
1125
|
-
__updateBoxBounds?(): void;
|
|
1126
|
+
__updateBoxBounds?(secondLayout?: boolean): void;
|
|
1126
1127
|
__updateStrokeBounds?(): void;
|
|
1127
1128
|
__updateRenderBounds?(): void;
|
|
1128
1129
|
__updateAutoLayout?(): void;
|
|
@@ -1306,6 +1307,7 @@ interface ILeafAttrData {
|
|
|
1306
1307
|
disabledStyle?: ILeafInputData;
|
|
1307
1308
|
data: IObject;
|
|
1308
1309
|
}
|
|
1310
|
+
type ISide = 'width' | 'height';
|
|
1309
1311
|
type IAxis = 'x' | 'y';
|
|
1310
1312
|
type IAxisReverse = 'x-reverse' | 'y-reverse';
|
|
1311
1313
|
type IFlowType = boolean | IAxis | IAxisReverse;
|
|
@@ -1599,7 +1601,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1599
1601
|
__updateLocalStrokeBounds(): void;
|
|
1600
1602
|
__updateLocalRenderBounds(): void;
|
|
1601
1603
|
__updateContentBounds(): void;
|
|
1602
|
-
__updateBoxBounds(): void;
|
|
1604
|
+
__updateBoxBounds(secondLayout?: boolean): void;
|
|
1603
1605
|
__updateStrokeBounds(): void;
|
|
1604
1606
|
__updateRenderBounds(): void;
|
|
1605
1607
|
__updateAutoLayout(): void;
|
|
@@ -1633,6 +1635,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1633
1635
|
setTransform(transform?: IMatrixData, resize?: boolean): void;
|
|
1634
1636
|
transform(transform?: IMatrixData, resize?: boolean): void;
|
|
1635
1637
|
move(x: number | IPointData, y?: number): void;
|
|
1638
|
+
moveInner(x: number | IPointData, y?: number): void;
|
|
1636
1639
|
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number, resize?: boolean): void;
|
|
1637
1640
|
rotateOf(origin: IPointData | IAlign, rotation: number): void;
|
|
1638
1641
|
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean): void;
|
|
@@ -1840,6 +1843,7 @@ interface IInteractionCanvas extends ILeaferCanvas {
|
|
|
1840
1843
|
interface IInteractionConfig {
|
|
1841
1844
|
wheel?: IWheelConfig;
|
|
1842
1845
|
pointer?: IPointerConfig;
|
|
1846
|
+
touch?: ITouchConfig;
|
|
1843
1847
|
zoom?: IZoomConfig;
|
|
1844
1848
|
move?: IMoveConfig;
|
|
1845
1849
|
eventer?: IObject;
|
|
@@ -1857,7 +1861,7 @@ interface IMoveConfig {
|
|
|
1857
1861
|
holdMiddleKey?: boolean;
|
|
1858
1862
|
holdRightKey?: boolean;
|
|
1859
1863
|
scroll?: boolean | 'limit';
|
|
1860
|
-
drag?: boolean;
|
|
1864
|
+
drag?: boolean | 'auto';
|
|
1861
1865
|
dragAnimate?: boolean;
|
|
1862
1866
|
dragEmpty?: boolean;
|
|
1863
1867
|
dragOut?: boolean;
|
|
@@ -1890,6 +1894,9 @@ interface IPointerConfig {
|
|
|
1890
1894
|
preventDefault?: boolean;
|
|
1891
1895
|
preventDefaultMenu?: boolean;
|
|
1892
1896
|
}
|
|
1897
|
+
interface ITouchConfig {
|
|
1898
|
+
preventDefault?: boolean | 'auto';
|
|
1899
|
+
}
|
|
1893
1900
|
|
|
1894
1901
|
interface IHitCanvasManager extends ICanvasManager {
|
|
1895
1902
|
maxTotal: number;
|
|
@@ -1900,7 +1907,7 @@ interface IHitCanvasManager extends ICanvasManager {
|
|
|
1900
1907
|
interface IZoomView extends IBranch {
|
|
1901
1908
|
}
|
|
1902
1909
|
|
|
1903
|
-
type ILeaferType = 'draw' | 'editor' | 'design' | 'board' | 'document' | 'app' | 'website' | 'game' | 'player' | 'chart' | 'custom';
|
|
1910
|
+
type ILeaferType = 'draw' | 'block' | 'editor' | 'design' | 'board' | 'document' | 'app' | 'website' | 'game' | 'player' | 'chart' | 'custom';
|
|
1904
1911
|
interface ILeaferConfig extends IRendererConfig, ILeaferCanvasConfig, IInteractionConfig, ILayouterConfig {
|
|
1905
1912
|
start?: boolean;
|
|
1906
1913
|
type?: ILeaferType;
|
|
@@ -1948,6 +1955,9 @@ interface ILeaferAttrData {
|
|
|
1948
1955
|
getValidMove(moveX: number, moveY: number): IPointData;
|
|
1949
1956
|
getValidScale(changeScale: number): number;
|
|
1950
1957
|
getWorldPointByClient(clientPoint: IClientPointData, updateClient?: boolean): IPointData;
|
|
1958
|
+
getPagePointByClient(clientPoint: IClientPointData, updateClient?: boolean): IPointData;
|
|
1959
|
+
updateClientBounds(): void;
|
|
1960
|
+
receiveEvent(event: any): void;
|
|
1951
1961
|
}
|
|
1952
1962
|
type IZoomType = 'in' | 'out' | 'fit' | 'fit-width' | 'fit-height' | number | ILeaf | ILeaf[] | IBoundsData;
|
|
1953
1963
|
interface ILeaferBase extends IZoomView, IControl, ILeaferAttrData {
|
|
@@ -2051,7 +2061,7 @@ interface IImageManager {
|
|
|
2051
2061
|
destroy(): void;
|
|
2052
2062
|
}
|
|
2053
2063
|
|
|
2054
|
-
type ICanvasType = 'skia' | 'napi' | 'canvas' | '
|
|
2064
|
+
type ICanvasType = 'skia' | 'napi' | 'canvas' | 'miniapp';
|
|
2055
2065
|
interface ISkiaCanvas {
|
|
2056
2066
|
toBuffer(format: IExportFileType, config: ISkiaCanvasExportConfig): Promise<any>;
|
|
2057
2067
|
toBufferSync(format: IExportFileType, config: ISkiaCanvasExportConfig): any;
|
|
@@ -2086,6 +2096,7 @@ interface IPlatform {
|
|
|
2086
2096
|
toURL(text: string, fileType?: 'text' | 'svg'): string;
|
|
2087
2097
|
requestRender?(render: IFunction): void;
|
|
2088
2098
|
canvas?: ILeaferCanvas;
|
|
2099
|
+
renderCanvas?: ILeaferCanvas;
|
|
2089
2100
|
canvasType?: ICanvasType;
|
|
2090
2101
|
isWorker?: boolean;
|
|
2091
2102
|
isMobile?: boolean;
|
|
@@ -2156,4 +2167,4 @@ interface ICursorRotateMap {
|
|
|
2156
2167
|
[name: string]: ICursorRotate;
|
|
2157
2168
|
}
|
|
2158
2169
|
|
|
2159
|
-
export type { ACommandData, ArcCommandData, ArcToCommandData, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEvent, 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, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, 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, 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, IMoveEvent, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWindingRule, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, MCommandData, PointerType, QCommandData, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
|
|
2170
|
+
export type { ACommandData, ArcCommandData, ArcToCommandData, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEvent, 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, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, 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, 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, IMoveEvent, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISide, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWindingRule, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, MCommandData, PointerType, QCommandData, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
|