@leafer/interface 1.0.0-rc.28 → 1.0.0-rc.30
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/data/ILeafData.ts +2 -1
- package/src/display/ILeaf.ts +68 -68
- package/src/file/IExport.ts +5 -0
- package/src/index.ts +1 -1
- package/src/interaction/IInteraction.ts +1 -0
- package/types/index.d.ts +71 -67
package/package.json
CHANGED
package/src/data/ILeafData.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ILeaf, ILeafComputedData } from '../display/ILeaf'
|
|
2
|
+
import { IJSONOptions } from '../file/IExport'
|
|
2
3
|
import { IObject } from './IData'
|
|
3
4
|
|
|
4
5
|
export interface IDataProcessor {
|
|
@@ -12,7 +13,7 @@ export interface IDataProcessor {
|
|
|
12
13
|
__setInput(name: string, value: any): void
|
|
13
14
|
__getInput(name: string): any
|
|
14
15
|
__removeInput(name: string): void
|
|
15
|
-
__getInputData(names?: string[] | IObject): IObject
|
|
16
|
+
__getInputData(names?: string[] | IObject, options?: IJSONOptions): IObject
|
|
16
17
|
|
|
17
18
|
__setMiddle(name: string, value: any): void
|
|
18
19
|
__getMiddle(name: string): any
|
package/src/display/ILeaf.ts
CHANGED
|
@@ -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,
|
|
8
|
+
import { IMatrixWithBoundsData, IMatrix, IPointData, IBoundsData, IRadiusPointData, ILayoutBoundsData, IMatrixData, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAutoBoxData, IUnitPointData } from '../math/IMath'
|
|
9
9
|
import { IFunction } from '../function/IFunction'
|
|
10
10
|
|
|
11
11
|
import { ILeafDataProxy } from './module/ILeafDataProxy'
|
|
@@ -18,6 +18,7 @@ import { ILeafData } from '../data/ILeafData'
|
|
|
18
18
|
import { IFindMethod } from '../selector/ISelector'
|
|
19
19
|
import { IPathCommandData } from '../path/IPathCommand'
|
|
20
20
|
import { IWindingRule, IPath2D } from '../canvas/ICanvas'
|
|
21
|
+
import { IJSONOptions } from '../file/IExport'
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
export interface ICachedLeaf {
|
|
@@ -29,88 +30,88 @@ export interface ICachedLeaf {
|
|
|
29
30
|
|
|
30
31
|
export interface ILeafAttrData {
|
|
31
32
|
// layer data
|
|
32
|
-
id
|
|
33
|
-
name
|
|
34
|
-
className
|
|
33
|
+
id?: IString
|
|
34
|
+
name?: IString
|
|
35
|
+
className?: IString
|
|
35
36
|
|
|
36
|
-
blendMode
|
|
37
|
-
opacity
|
|
38
|
-
visible
|
|
39
|
-
selected
|
|
40
|
-
disabled
|
|
41
|
-
locked
|
|
42
|
-
zIndex
|
|
37
|
+
blendMode?: IBlendMode
|
|
38
|
+
opacity?: INumber
|
|
39
|
+
visible?: IBoolean | 0 // 0 = display: none
|
|
40
|
+
selected?: IBoolean
|
|
41
|
+
disabled?: IBoolean
|
|
42
|
+
locked?: IBoolean
|
|
43
|
+
zIndex?: INumber
|
|
43
44
|
|
|
44
|
-
mask
|
|
45
|
-
eraser
|
|
45
|
+
mask?: IBoolean | IMaskType
|
|
46
|
+
eraser?: IBoolean | IEraserType
|
|
46
47
|
|
|
47
48
|
// layout data
|
|
48
|
-
x
|
|
49
|
-
y
|
|
50
|
-
width
|
|
51
|
-
height
|
|
52
|
-
scaleX
|
|
53
|
-
scaleY
|
|
54
|
-
rotation
|
|
55
|
-
skewX
|
|
56
|
-
skewY
|
|
49
|
+
x?: INumber
|
|
50
|
+
y?: INumber
|
|
51
|
+
width?: INumber
|
|
52
|
+
height?: INumber
|
|
53
|
+
scaleX?: INumber
|
|
54
|
+
scaleY?: INumber
|
|
55
|
+
rotation?: INumber
|
|
56
|
+
skewX?: INumber
|
|
57
|
+
skewY?: INumber
|
|
57
58
|
|
|
58
|
-
scale
|
|
59
|
+
scale?: INumber | IPointData // helper
|
|
59
60
|
|
|
60
|
-
offsetX
|
|
61
|
-
offsetY
|
|
62
|
-
scrollX
|
|
63
|
-
scrollY
|
|
61
|
+
offsetX?: INumber
|
|
62
|
+
offsetY?: INumber
|
|
63
|
+
scrollX?: INumber
|
|
64
|
+
scrollY?: INumber
|
|
64
65
|
|
|
65
|
-
origin
|
|
66
|
-
around
|
|
66
|
+
origin?: IAlign | IUnitPointData
|
|
67
|
+
around?: IAlign | IUnitPointData
|
|
67
68
|
|
|
68
|
-
lazy
|
|
69
|
-
pixelRatio
|
|
69
|
+
lazy?: IBoolean
|
|
70
|
+
pixelRatio?: INumber
|
|
70
71
|
|
|
71
|
-
path
|
|
72
|
-
windingRule
|
|
73
|
-
closed
|
|
72
|
+
path?: IPathCommandData | IPathString
|
|
73
|
+
windingRule?: IWindingRule
|
|
74
|
+
closed?: IBoolean
|
|
74
75
|
|
|
75
76
|
// auto layout
|
|
76
|
-
flow
|
|
77
|
-
padding
|
|
78
|
-
gap
|
|
79
|
-
flowAlign
|
|
80
|
-
flowWrap
|
|
81
|
-
itemBox
|
|
82
|
-
|
|
83
|
-
inFlow
|
|
84
|
-
autoWidth
|
|
85
|
-
autoHeight
|
|
86
|
-
lockRatio
|
|
87
|
-
autoBox
|
|
88
|
-
|
|
89
|
-
widthRange
|
|
90
|
-
heightRange
|
|
77
|
+
flow?: IFlowType
|
|
78
|
+
padding?: IFourNumber
|
|
79
|
+
gap?: IGap | IPointGap
|
|
80
|
+
flowAlign?: IFlowAlign | IFlowAxisAlign
|
|
81
|
+
flowWrap?: IFlowWrap
|
|
82
|
+
itemBox?: IFlowBoxType
|
|
83
|
+
|
|
84
|
+
inFlow?: IBoolean
|
|
85
|
+
autoWidth?: IAutoSize
|
|
86
|
+
autoHeight?: IAutoSize
|
|
87
|
+
lockRatio?: IBoolean
|
|
88
|
+
autoBox?: IAutoBoxData | IConstraint
|
|
89
|
+
|
|
90
|
+
widthRange?: IRangeSize
|
|
91
|
+
heightRange?: IRangeSize
|
|
91
92
|
|
|
92
93
|
// interactive
|
|
93
|
-
draggable
|
|
94
|
+
draggable?: IBoolean | IAxis
|
|
94
95
|
dragBounds?: IBoundsData | 'parent'
|
|
95
96
|
|
|
96
|
-
editable
|
|
97
|
+
editable?: IBoolean
|
|
97
98
|
|
|
98
|
-
hittable
|
|
99
|
-
hitFill
|
|
100
|
-
hitStroke
|
|
101
|
-
hitBox
|
|
102
|
-
hitChildren
|
|
103
|
-
hitSelf
|
|
104
|
-
hitRadius
|
|
99
|
+
hittable?: IBoolean
|
|
100
|
+
hitFill?: IHitType
|
|
101
|
+
hitStroke?: IHitType
|
|
102
|
+
hitBox?: IBoolean
|
|
103
|
+
hitChildren?: IBoolean
|
|
104
|
+
hitSelf?: IBoolean
|
|
105
|
+
hitRadius?: INumber
|
|
105
106
|
|
|
106
|
-
cursor
|
|
107
|
+
cursor?: ICursorType | ICursorType[]
|
|
107
108
|
|
|
108
|
-
normalStyle
|
|
109
|
-
hoverStyle
|
|
110
|
-
pressStyle
|
|
111
|
-
focusStyle
|
|
112
|
-
selectedStyle
|
|
113
|
-
disabledStyle
|
|
109
|
+
normalStyle?: ILeafInputData // restore hover / press / focus / selected / disabled style
|
|
110
|
+
hoverStyle?: ILeafInputData
|
|
111
|
+
pressStyle?: ILeafInputData
|
|
112
|
+
focusStyle?: ILeafInputData
|
|
113
|
+
selectedStyle?: ILeafInputData
|
|
114
|
+
disabledStyle?: ILeafInputData
|
|
114
115
|
|
|
115
116
|
// 预留给用户使用的数据对象
|
|
116
117
|
data: IObject
|
|
@@ -581,8 +582,8 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
581
582
|
getAttr(name: string): any
|
|
582
583
|
getComputedAttr(name: string): any
|
|
583
584
|
|
|
584
|
-
toJSON(): IObject
|
|
585
|
-
toString(): string
|
|
585
|
+
toJSON(options?: IJSONOptions): IObject
|
|
586
|
+
toString(options?: IJSONOptions): string
|
|
586
587
|
toSVG(): string
|
|
587
588
|
__SVG(data: IObject): void
|
|
588
589
|
toHTML(): string
|
|
@@ -640,7 +641,6 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
640
641
|
// convert
|
|
641
642
|
__getNowWorld(options: IRenderOptions): IMatrixWithBoundsScaleData // when render use other matrix
|
|
642
643
|
|
|
643
|
-
getWorld(attrName: ILayoutAttr): number // will remove
|
|
644
644
|
getTransform(relative?: ILocationType | ILeaf): IMatrixData
|
|
645
645
|
|
|
646
646
|
getBounds(type?: IBoundsType, relative?: ILocationType | ILeaf): IBoundsData
|
package/src/file/IExport.ts
CHANGED
|
@@ -15,10 +15,15 @@ export interface IExportOptions {
|
|
|
15
15
|
fill?: string
|
|
16
16
|
screenshot?: IBoundsData | boolean
|
|
17
17
|
relative?: ILocationType | ILeaf
|
|
18
|
+
json?: IJSONOptions
|
|
18
19
|
contextSettings?: ICanvasContext2DSettings
|
|
19
20
|
onCanvas?: IExportOnCanvasFunction
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
export interface IJSONOptions {
|
|
24
|
+
matrix?: boolean
|
|
25
|
+
}
|
|
26
|
+
|
|
22
27
|
export interface IExportResult {
|
|
23
28
|
data: ILeaferCanvas | IBlob | string | boolean
|
|
24
29
|
width?: number
|
package/src/index.ts
CHANGED
|
@@ -41,7 +41,7 @@ export { CanvasPathCommand, IPathCommandData, MCommandData, HCommandData, VComma
|
|
|
41
41
|
|
|
42
42
|
export { ILeaferImage, ILeaferImageConfig, ILeaferImageOnLoaded, ILeaferImageOnError, ILeaferImageCacheCanvas, ILeaferImagePatternPaint } from './image/ILeaferImage'
|
|
43
43
|
export { IExportFileType, IExportImageType } from './file/IFileType'
|
|
44
|
-
export { IExportOptions, IExportResult, IExportResultFunction, IExportOnCanvasFunction } from './file/IExport'
|
|
44
|
+
export { IExportOptions, IJSONOptions, IExportResult, IExportResultFunction, IExportOnCanvasFunction } from './file/IExport'
|
|
45
45
|
|
|
46
46
|
export { InnerId, IEventer, IEventListener, IEventListenerOptions, IEventListenerMap, IEventListenerItem, IEventListenerId } from './event/IEventer'
|
|
47
47
|
export { IEventTarget, IEvent, ILeaferEvent, IPropertyEvent, ILayoutEvent, IRenderEvent, IAnimateEvent, IChildEvent, IResizeEvent, IResizeEventListener, IUpdateEvent, IWatchEvent, IMultiTouchData, IKeepTouchData } from './event/IEvent'
|
package/types/index.d.ts
CHANGED
|
@@ -887,9 +887,13 @@ interface IExportOptions {
|
|
|
887
887
|
fill?: string;
|
|
888
888
|
screenshot?: IBoundsData | boolean;
|
|
889
889
|
relative?: ILocationType | ILeaf;
|
|
890
|
+
json?: IJSONOptions;
|
|
890
891
|
contextSettings?: ICanvasContext2DSettings;
|
|
891
892
|
onCanvas?: IExportOnCanvasFunction;
|
|
892
893
|
}
|
|
894
|
+
interface IJSONOptions {
|
|
895
|
+
matrix?: boolean;
|
|
896
|
+
}
|
|
893
897
|
interface IExportResult {
|
|
894
898
|
data: ILeaferCanvas | IBlob | string | boolean;
|
|
895
899
|
width?: number;
|
|
@@ -1152,7 +1156,7 @@ interface IDataProcessor {
|
|
|
1152
1156
|
__setInput(name: string, value: any): void;
|
|
1153
1157
|
__getInput(name: string): any;
|
|
1154
1158
|
__removeInput(name: string): void;
|
|
1155
|
-
__getInputData(names?: string[] | IObject): IObject;
|
|
1159
|
+
__getInputData(names?: string[] | IObject, options?: IJSONOptions): IObject;
|
|
1156
1160
|
__setMiddle(name: string, value: any): void;
|
|
1157
1161
|
__getMiddle(name: string): any;
|
|
1158
1162
|
destroy(): void;
|
|
@@ -1228,69 +1232,69 @@ interface ICachedLeaf {
|
|
|
1228
1232
|
bounds: IBoundsData;
|
|
1229
1233
|
}
|
|
1230
1234
|
interface ILeafAttrData {
|
|
1231
|
-
id
|
|
1232
|
-
name
|
|
1233
|
-
className
|
|
1234
|
-
blendMode
|
|
1235
|
-
opacity
|
|
1236
|
-
visible
|
|
1237
|
-
selected
|
|
1238
|
-
disabled
|
|
1239
|
-
locked
|
|
1240
|
-
zIndex
|
|
1241
|
-
mask
|
|
1242
|
-
eraser
|
|
1243
|
-
x
|
|
1244
|
-
y
|
|
1245
|
-
width
|
|
1246
|
-
height
|
|
1247
|
-
scaleX
|
|
1248
|
-
scaleY
|
|
1249
|
-
rotation
|
|
1250
|
-
skewX
|
|
1251
|
-
skewY
|
|
1252
|
-
scale
|
|
1253
|
-
offsetX
|
|
1254
|
-
offsetY
|
|
1255
|
-
scrollX
|
|
1256
|
-
scrollY
|
|
1257
|
-
origin
|
|
1258
|
-
around
|
|
1259
|
-
lazy
|
|
1260
|
-
pixelRatio
|
|
1261
|
-
path
|
|
1262
|
-
windingRule
|
|
1263
|
-
closed
|
|
1264
|
-
flow
|
|
1265
|
-
padding
|
|
1266
|
-
gap
|
|
1267
|
-
flowAlign
|
|
1268
|
-
flowWrap
|
|
1269
|
-
itemBox
|
|
1270
|
-
inFlow
|
|
1271
|
-
autoWidth
|
|
1272
|
-
autoHeight
|
|
1273
|
-
lockRatio
|
|
1274
|
-
autoBox
|
|
1275
|
-
widthRange
|
|
1276
|
-
heightRange
|
|
1277
|
-
draggable
|
|
1235
|
+
id?: IString;
|
|
1236
|
+
name?: IString;
|
|
1237
|
+
className?: IString;
|
|
1238
|
+
blendMode?: IBlendMode;
|
|
1239
|
+
opacity?: INumber;
|
|
1240
|
+
visible?: IBoolean | 0;
|
|
1241
|
+
selected?: IBoolean;
|
|
1242
|
+
disabled?: IBoolean;
|
|
1243
|
+
locked?: IBoolean;
|
|
1244
|
+
zIndex?: INumber;
|
|
1245
|
+
mask?: IBoolean | IMaskType;
|
|
1246
|
+
eraser?: IBoolean | IEraserType;
|
|
1247
|
+
x?: INumber;
|
|
1248
|
+
y?: INumber;
|
|
1249
|
+
width?: INumber;
|
|
1250
|
+
height?: INumber;
|
|
1251
|
+
scaleX?: INumber;
|
|
1252
|
+
scaleY?: INumber;
|
|
1253
|
+
rotation?: INumber;
|
|
1254
|
+
skewX?: INumber;
|
|
1255
|
+
skewY?: INumber;
|
|
1256
|
+
scale?: INumber | IPointData;
|
|
1257
|
+
offsetX?: INumber;
|
|
1258
|
+
offsetY?: INumber;
|
|
1259
|
+
scrollX?: INumber;
|
|
1260
|
+
scrollY?: INumber;
|
|
1261
|
+
origin?: IAlign | IUnitPointData;
|
|
1262
|
+
around?: IAlign | IUnitPointData;
|
|
1263
|
+
lazy?: IBoolean;
|
|
1264
|
+
pixelRatio?: INumber;
|
|
1265
|
+
path?: IPathCommandData | IPathString;
|
|
1266
|
+
windingRule?: IWindingRule;
|
|
1267
|
+
closed?: IBoolean;
|
|
1268
|
+
flow?: IFlowType;
|
|
1269
|
+
padding?: IFourNumber;
|
|
1270
|
+
gap?: IGap | IPointGap;
|
|
1271
|
+
flowAlign?: IFlowAlign | IFlowAxisAlign;
|
|
1272
|
+
flowWrap?: IFlowWrap;
|
|
1273
|
+
itemBox?: IFlowBoxType;
|
|
1274
|
+
inFlow?: IBoolean;
|
|
1275
|
+
autoWidth?: IAutoSize;
|
|
1276
|
+
autoHeight?: IAutoSize;
|
|
1277
|
+
lockRatio?: IBoolean;
|
|
1278
|
+
autoBox?: IAutoBoxData | IConstraint;
|
|
1279
|
+
widthRange?: IRangeSize;
|
|
1280
|
+
heightRange?: IRangeSize;
|
|
1281
|
+
draggable?: IBoolean | IAxis;
|
|
1278
1282
|
dragBounds?: IBoundsData | 'parent';
|
|
1279
|
-
editable
|
|
1280
|
-
hittable
|
|
1281
|
-
hitFill
|
|
1282
|
-
hitStroke
|
|
1283
|
-
hitBox
|
|
1284
|
-
hitChildren
|
|
1285
|
-
hitSelf
|
|
1286
|
-
hitRadius
|
|
1287
|
-
cursor
|
|
1288
|
-
normalStyle
|
|
1289
|
-
hoverStyle
|
|
1290
|
-
pressStyle
|
|
1291
|
-
focusStyle
|
|
1292
|
-
selectedStyle
|
|
1293
|
-
disabledStyle
|
|
1283
|
+
editable?: IBoolean;
|
|
1284
|
+
hittable?: IBoolean;
|
|
1285
|
+
hitFill?: IHitType;
|
|
1286
|
+
hitStroke?: IHitType;
|
|
1287
|
+
hitBox?: IBoolean;
|
|
1288
|
+
hitChildren?: IBoolean;
|
|
1289
|
+
hitSelf?: IBoolean;
|
|
1290
|
+
hitRadius?: INumber;
|
|
1291
|
+
cursor?: ICursorType | ICursorType[];
|
|
1292
|
+
normalStyle?: ILeafInputData;
|
|
1293
|
+
hoverStyle?: ILeafInputData;
|
|
1294
|
+
pressStyle?: ILeafInputData;
|
|
1295
|
+
focusStyle?: ILeafInputData;
|
|
1296
|
+
selectedStyle?: ILeafInputData;
|
|
1297
|
+
disabledStyle?: ILeafInputData;
|
|
1294
1298
|
data: IObject;
|
|
1295
1299
|
}
|
|
1296
1300
|
type IAxis = 'x' | 'y';
|
|
@@ -1559,8 +1563,8 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1559
1563
|
setAttr(name: string, value: any): void;
|
|
1560
1564
|
getAttr(name: string): any;
|
|
1561
1565
|
getComputedAttr(name: string): any;
|
|
1562
|
-
toJSON(): IObject;
|
|
1563
|
-
toString(): string;
|
|
1566
|
+
toJSON(options?: IJSONOptions): IObject;
|
|
1567
|
+
toString(options?: IJSONOptions): string;
|
|
1564
1568
|
toSVG(): string;
|
|
1565
1569
|
__SVG(data: IObject): void;
|
|
1566
1570
|
toHTML(): string;
|
|
@@ -1598,7 +1602,6 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1598
1602
|
__renderMask(canvas: ILeaferCanvas, options: IRenderOptions): void;
|
|
1599
1603
|
__renderEraser(canvas: ILeaferCanvas, options: IRenderOptions): void;
|
|
1600
1604
|
__getNowWorld(options: IRenderOptions): IMatrixWithBoundsScaleData;
|
|
1601
|
-
getWorld(attrName: ILayoutAttr): number;
|
|
1602
1605
|
getTransform(relative?: ILocationType | ILeaf): IMatrixData;
|
|
1603
1606
|
getBounds(type?: IBoundsType, relative?: ILocationType | ILeaf): IBoundsData;
|
|
1604
1607
|
getLayoutBounds(type?: IBoundsType, relative?: ILocationType | ILeaf, unscale?: boolean): ILayoutBoundsData;
|
|
@@ -1842,6 +1845,7 @@ interface IMoveConfig {
|
|
|
1842
1845
|
autoDistance?: number;
|
|
1843
1846
|
}
|
|
1844
1847
|
interface IWheelConfig {
|
|
1848
|
+
disabled?: boolean;
|
|
1845
1849
|
zoomMode?: boolean | 'mouse';
|
|
1846
1850
|
zoomSpeed?: number;
|
|
1847
1851
|
moveSpeed?: number;
|
|
@@ -2131,4 +2135,4 @@ interface ICursorRotateMap {
|
|
|
2131
2135
|
[name: string]: ICursorRotate;
|
|
2132
2136
|
}
|
|
2133
2137
|
|
|
2134
|
-
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, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFindCondition, IFindMethod, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, 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 };
|
|
2138
|
+
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, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFindCondition, IFindMethod, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, 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 };
|