@leafer/interface 1.3.2 → 1.4.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 +1 -1
- package/src/animate/ITransition.ts +86 -0
- package/src/display/ILeaf.ts +16 -13
- package/src/file/IExport.ts +2 -0
- package/src/file/IFileType.ts +1 -1
- package/src/index.ts +3 -1
- package/types/index.d.ts +63 -15
package/package.json
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { IObject } from '../data/IData'
|
|
2
|
+
|
|
3
|
+
export type ITransition = IAnimateOptions | IAnimateEasingName | number | boolean
|
|
4
|
+
|
|
5
|
+
export interface IAnimateOptions {
|
|
6
|
+
easing?: IAnimateEasing
|
|
7
|
+
|
|
8
|
+
delay?: number
|
|
9
|
+
duration?: number
|
|
10
|
+
ending?: IAnimateEnding
|
|
11
|
+
|
|
12
|
+
reverse?: boolean
|
|
13
|
+
swing?: boolean | number
|
|
14
|
+
|
|
15
|
+
loop?: boolean | number
|
|
16
|
+
loopDelay?: number
|
|
17
|
+
|
|
18
|
+
speed?: number
|
|
19
|
+
|
|
20
|
+
join?: boolean
|
|
21
|
+
autoplay?: boolean
|
|
22
|
+
|
|
23
|
+
attrs?: string[]
|
|
24
|
+
event?: IAnimateEvents
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export interface IAnimateEasingFunction {
|
|
29
|
+
(t: number): number
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface ICustomEasingFunction {
|
|
33
|
+
(...arg: any): IAnimateEasingFunction
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export type IAnimateEasing =
|
|
38
|
+
| IAnimateEasingName
|
|
39
|
+
| ICubicBezierEasing
|
|
40
|
+
| IStepsEasing
|
|
41
|
+
| IObject
|
|
42
|
+
|
|
43
|
+
export interface ICubicBezierEasing {
|
|
44
|
+
name: 'cubic-bezier',
|
|
45
|
+
value: [number, number, number, number]
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface IStepsEasing {
|
|
49
|
+
name: 'steps',
|
|
50
|
+
value: number | [number, 'floor' | 'round' | 'ceil']
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
export type IAnimateEasingName =
|
|
55
|
+
| 'linear'
|
|
56
|
+
| 'ease'
|
|
57
|
+
| 'ease-in' | 'ease-out' | 'ease-in-out'
|
|
58
|
+
| 'sine-in' | 'sine-out' | 'sine-in-out'
|
|
59
|
+
| 'quad-in' | 'quad-out' | 'quad-in-out'
|
|
60
|
+
| 'cubic-in' | 'cubic-out' | 'cubic-in-out'
|
|
61
|
+
| 'quart-in' | 'quart-out' | 'quart-in-out'
|
|
62
|
+
| 'quint-in' | 'quint-out' | 'quint-in-out'
|
|
63
|
+
| 'expo-in' | 'expo-out' | 'expo-in-out'
|
|
64
|
+
| 'circ-in' | 'circ-out' | 'circ-in-out'
|
|
65
|
+
| 'back-in' | 'back-out' | 'back-in-out'
|
|
66
|
+
| 'elastic-in' | 'elastic-out' | 'elastic-in-out'
|
|
67
|
+
| 'bounce-in' | 'bounce-out' | 'bounce-in-out'
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
export type IAnimateEnding = 'auto' | 'from' | 'to'
|
|
71
|
+
|
|
72
|
+
export interface IAnimateEvents {
|
|
73
|
+
created?: IAnimateEventFunction
|
|
74
|
+
|
|
75
|
+
play?: IAnimateEventFunction
|
|
76
|
+
pause?: IAnimateEventFunction
|
|
77
|
+
stop?: IAnimateEventFunction
|
|
78
|
+
seek?: IAnimateEventFunction
|
|
79
|
+
|
|
80
|
+
update?: IAnimateEventFunction
|
|
81
|
+
completed?: IAnimateEventFunction
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface IAnimateEventFunction {
|
|
85
|
+
(animate?: any): any
|
|
86
|
+
}
|
package/src/display/ILeaf.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { IPathCommandObject, IPathCommandData } from '../path/IPathCommand'
|
|
|
20
20
|
import { IWindingRule, IPath2D } from '../canvas/ICanvas'
|
|
21
21
|
import { IJSONOptions } from '../file/IExport'
|
|
22
22
|
import { IMotionPathData } from '../path/IPathData'
|
|
23
|
+
import { ITransition } from '../animate/ITransition'
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
export interface ICachedLeaf {
|
|
@@ -515,7 +516,7 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
515
516
|
|
|
516
517
|
__bindLeafer(leafer: ILeaferBase | null): void
|
|
517
518
|
|
|
518
|
-
set(data: IObject, transition?:
|
|
519
|
+
set(data: IObject, transition?: ITransition): void
|
|
519
520
|
get(name?: string | string[] | IObject): ILeafInputData | IValue
|
|
520
521
|
setAttr(name: string, value: any): void
|
|
521
522
|
getAttr(name: string): any
|
|
@@ -549,6 +550,8 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
549
550
|
forceUpdate(attrName?: string): void
|
|
550
551
|
forceRender(bounds?: IBoundsData, sync?: boolean): void
|
|
551
552
|
|
|
553
|
+
__extraUpdate(): void // 额外更新
|
|
554
|
+
|
|
552
555
|
// ILeafMatrix ->
|
|
553
556
|
__updateWorldMatrix(): void
|
|
554
557
|
__updateLocalMatrix(): void
|
|
@@ -611,22 +614,22 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
|
|
|
611
614
|
getWorldPointByPage(page: IPointData, relative?: ILeaf, distance?: boolean, change?: boolean): IPointData
|
|
612
615
|
|
|
613
616
|
// transform
|
|
614
|
-
setTransform(transform?: IMatrixData, resize?: boolean): void
|
|
615
|
-
transform(transform?: IMatrixData, resize?: boolean): void
|
|
616
|
-
move(x: number | IPointData, y?: number, transition?:
|
|
617
|
+
setTransform(transform?: IMatrixData, resize?: boolean, transition?: ITransition): void
|
|
618
|
+
transform(transform?: IMatrixData, resize?: boolean, transition?: ITransition): void
|
|
619
|
+
move(x: number | IPointData, y?: number, transition?: ITransition): void
|
|
617
620
|
|
|
618
|
-
moveInner(x: number | IPointData, y?: number, transition?:
|
|
619
|
-
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number, resize?: boolean): void
|
|
621
|
+
moveInner(x: number | IPointData, y?: number, transition?: ITransition): void
|
|
622
|
+
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number | ITransition, resize?: boolean, transition?: ITransition): void
|
|
620
623
|
rotateOf(origin: IPointData | IAlign, rotation: number): void
|
|
621
|
-
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean): void
|
|
624
|
+
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean, transition?: ITransition): void
|
|
622
625
|
|
|
623
|
-
transformWorld(worldTransform?: IMatrixData, resize?: boolean): void
|
|
624
|
-
moveWorld(x: number | IPointData, y?: number, transition?:
|
|
625
|
-
scaleOfWorld(worldOrigin: IPointData, scaleX: number, scaleY?: number, resize?: boolean): void
|
|
626
|
-
rotateOfWorld(worldOrigin: IPointData, rotation: number): void
|
|
627
|
-
skewOfWorld(worldOrigin: IPointData, skewX: number, skewY?: number, resize?: boolean): void
|
|
626
|
+
transformWorld(worldTransform?: IMatrixData, resize?: boolean, transition?: ITransition): void
|
|
627
|
+
moveWorld(x: number | IPointData, y?: number, transition?: ITransition): void
|
|
628
|
+
scaleOfWorld(worldOrigin: IPointData, scaleX: number, scaleY?: number | ITransition, resize?: boolean, transition?: ITransition): void
|
|
629
|
+
rotateOfWorld(worldOrigin: IPointData, rotation: number, transition?: ITransition): void
|
|
630
|
+
skewOfWorld(worldOrigin: IPointData, skewX: number, skewY?: number, resize?: boolean, transition?: ITransition): void
|
|
628
631
|
|
|
629
|
-
flip(axis: IAxis): void
|
|
632
|
+
flip(axis: IAxis, transition?: ITransition): void
|
|
630
633
|
|
|
631
634
|
scaleResize(scaleX: number, scaleY: number, noResize?: boolean): void
|
|
632
635
|
__scaleResize(scaleX: number, scaleY: number): void
|
package/src/file/IExport.ts
CHANGED
|
@@ -3,12 +3,14 @@ import { ICanvasContext2DSettings } from '../canvas/ICanvas'
|
|
|
3
3
|
import { ILeaf } from '../display/ILeaf'
|
|
4
4
|
import { ILocationType } from '../layout/ILeafLayout'
|
|
5
5
|
import { IBoundsData, IPointData, ISizeData } from '../math/IMath'
|
|
6
|
+
import { IFourNumber } from '../data/IData'
|
|
6
7
|
|
|
7
8
|
export interface IExportOptions {
|
|
8
9
|
quality?: number
|
|
9
10
|
blob?: boolean
|
|
10
11
|
scale?: number | IPointData
|
|
11
12
|
size?: number | ISizeData
|
|
13
|
+
padding?: IFourNumber
|
|
12
14
|
smooth?: boolean
|
|
13
15
|
pixelRatio?: number
|
|
14
16
|
slice?: boolean
|
package/src/file/IFileType.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type IExportImageType = 'jpg' | 'png' | 'webp'
|
|
1
|
+
export type IExportImageType = 'jpg' | 'png' | 'webp' | 'bmp'
|
|
2
2
|
export type IExportFileType = IExportImageType | 'svg' | 'pdf' | 'json'
|
package/src/index.ts
CHANGED
|
@@ -54,4 +54,6 @@ export { ITransformer } from './interaction/ITransformer'
|
|
|
54
54
|
export { INumber, IBoolean, IString, IValue, IFourNumber, IPathString, ITimer, IObject, INumberMap, IStringMap, IBooleanMap, IFunctionMap, IPointDataMap, IDataTypeHandle } from './data/IData'
|
|
55
55
|
export { ILeafList, ILeafArrayMap, ILeafMap, ILeafLevelList, ILeafListItemCallback } from './data/IList'
|
|
56
56
|
export { IPoint, IPointData, IFromToData, IUnitPointData, IRotationPointData, IScrollPointData, IClientPointData, IRadiusPointData, ISize, ISizeData, IScreenSizeData, IBounds, IBoundsData, IBoundsDataFn, IOffsetBoundsData, ITwoPointBoundsData, IAutoBounds, IAutoBoxData, IAutoBoundsData, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithScaleData, IMatrixWithOptionScaleData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IScaleRotationData, IScaleData, ISkewData, ILayoutBoundsData, ILayoutData, ILayoutAttr } from './math/IMath'
|
|
57
|
-
export { IFunction, IStringFunction, INumberFunction, IObjectFunction, IPointDataFunction, IAttrDecorator } from './function/IFunction'
|
|
57
|
+
export { IFunction, IStringFunction, INumberFunction, IObjectFunction, IPointDataFunction, IAttrDecorator } from './function/IFunction'
|
|
58
|
+
|
|
59
|
+
export { ITransition, IAnimateEasing, ICubicBezierEasing, IStepsEasing, IAnimateEasingFunction, IAnimateEasingName, IAnimateEnding, IAnimateEvents, IAnimateEventFunction, ICustomEasingFunction, IAnimateOptions } from './animate/ITransition'
|
package/types/index.d.ts
CHANGED
|
@@ -843,7 +843,7 @@ interface ICanvasManager {
|
|
|
843
843
|
destroy(): void;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
type IExportImageType = 'jpg' | 'png' | 'webp';
|
|
846
|
+
type IExportImageType = 'jpg' | 'png' | 'webp' | 'bmp';
|
|
847
847
|
type IExportFileType = IExportImageType | 'svg' | 'pdf' | 'json';
|
|
848
848
|
|
|
849
849
|
type ILocationType = 'world' | 'page' | 'local' | 'inner';
|
|
@@ -923,6 +923,7 @@ interface IExportOptions {
|
|
|
923
923
|
blob?: boolean;
|
|
924
924
|
scale?: number | IPointData;
|
|
925
925
|
size?: number | ISizeData;
|
|
926
|
+
padding?: IFourNumber;
|
|
926
927
|
smooth?: boolean;
|
|
927
928
|
pixelRatio?: number;
|
|
928
929
|
slice?: boolean;
|
|
@@ -1290,6 +1291,52 @@ interface IMotionPathData {
|
|
|
1290
1291
|
data: IPathCommandData;
|
|
1291
1292
|
}
|
|
1292
1293
|
|
|
1294
|
+
type ITransition = IAnimateOptions | IAnimateEasingName | number | boolean;
|
|
1295
|
+
interface IAnimateOptions {
|
|
1296
|
+
easing?: IAnimateEasing;
|
|
1297
|
+
delay?: number;
|
|
1298
|
+
duration?: number;
|
|
1299
|
+
ending?: IAnimateEnding;
|
|
1300
|
+
reverse?: boolean;
|
|
1301
|
+
swing?: boolean | number;
|
|
1302
|
+
loop?: boolean | number;
|
|
1303
|
+
loopDelay?: number;
|
|
1304
|
+
speed?: number;
|
|
1305
|
+
join?: boolean;
|
|
1306
|
+
autoplay?: boolean;
|
|
1307
|
+
attrs?: string[];
|
|
1308
|
+
event?: IAnimateEvents;
|
|
1309
|
+
}
|
|
1310
|
+
interface IAnimateEasingFunction {
|
|
1311
|
+
(t: number): number;
|
|
1312
|
+
}
|
|
1313
|
+
interface ICustomEasingFunction {
|
|
1314
|
+
(...arg: any): IAnimateEasingFunction;
|
|
1315
|
+
}
|
|
1316
|
+
type IAnimateEasing = IAnimateEasingName | ICubicBezierEasing | IStepsEasing | IObject;
|
|
1317
|
+
interface ICubicBezierEasing {
|
|
1318
|
+
name: 'cubic-bezier';
|
|
1319
|
+
value: [number, number, number, number];
|
|
1320
|
+
}
|
|
1321
|
+
interface IStepsEasing {
|
|
1322
|
+
name: 'steps';
|
|
1323
|
+
value: number | [number, 'floor' | 'round' | 'ceil'];
|
|
1324
|
+
}
|
|
1325
|
+
type IAnimateEasingName = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'sine-in' | 'sine-out' | 'sine-in-out' | 'quad-in' | 'quad-out' | 'quad-in-out' | 'cubic-in' | 'cubic-out' | 'cubic-in-out' | 'quart-in' | 'quart-out' | 'quart-in-out' | 'quint-in' | 'quint-out' | 'quint-in-out' | 'expo-in' | 'expo-out' | 'expo-in-out' | 'circ-in' | 'circ-out' | 'circ-in-out' | 'back-in' | 'back-out' | 'back-in-out' | 'elastic-in' | 'elastic-out' | 'elastic-in-out' | 'bounce-in' | 'bounce-out' | 'bounce-in-out';
|
|
1326
|
+
type IAnimateEnding = 'auto' | 'from' | 'to';
|
|
1327
|
+
interface IAnimateEvents {
|
|
1328
|
+
created?: IAnimateEventFunction;
|
|
1329
|
+
play?: IAnimateEventFunction;
|
|
1330
|
+
pause?: IAnimateEventFunction;
|
|
1331
|
+
stop?: IAnimateEventFunction;
|
|
1332
|
+
seek?: IAnimateEventFunction;
|
|
1333
|
+
update?: IAnimateEventFunction;
|
|
1334
|
+
completed?: IAnimateEventFunction;
|
|
1335
|
+
}
|
|
1336
|
+
interface IAnimateEventFunction {
|
|
1337
|
+
(animate?: any): any;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1293
1340
|
interface ICachedLeaf {
|
|
1294
1341
|
canvas: ILeaferCanvas;
|
|
1295
1342
|
matrix?: IMatrix;
|
|
@@ -1567,7 +1614,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1567
1614
|
nextRender(item: IFunction, bind?: IObject, off?: 'off'): void;
|
|
1568
1615
|
removeNextRender(item: IFunction): void;
|
|
1569
1616
|
__bindLeafer(leafer: ILeaferBase | null): void;
|
|
1570
|
-
set(data: IObject, transition?:
|
|
1617
|
+
set(data: IObject, transition?: ITransition): void;
|
|
1571
1618
|
get(name?: string | string[] | IObject): ILeafInputData | IValue;
|
|
1572
1619
|
setAttr(name: string, value: any): void;
|
|
1573
1620
|
getAttr(name: string): any;
|
|
@@ -1592,6 +1639,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1592
1639
|
updateLayout(): void;
|
|
1593
1640
|
forceUpdate(attrName?: string): void;
|
|
1594
1641
|
forceRender(bounds?: IBoundsData, sync?: boolean): void;
|
|
1642
|
+
__extraUpdate(): void;
|
|
1595
1643
|
__updateWorldMatrix(): void;
|
|
1596
1644
|
__updateLocalMatrix(): void;
|
|
1597
1645
|
__updateWorldBounds(): void;
|
|
@@ -1635,19 +1683,19 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
|
|
|
1635
1683
|
getWorldPointByBox(box: IPointData, relative?: ILeaf, distance?: boolean, change?: boolean): IPointData;
|
|
1636
1684
|
getWorldPointByLocal(local: IPointData, relative?: ILeaf, distance?: boolean, change?: boolean): IPointData;
|
|
1637
1685
|
getWorldPointByPage(page: IPointData, relative?: ILeaf, distance?: boolean, change?: boolean): IPointData;
|
|
1638
|
-
setTransform(transform?: IMatrixData, resize?: boolean): void;
|
|
1639
|
-
transform(transform?: IMatrixData, resize?: boolean): void;
|
|
1640
|
-
move(x: number | IPointData, y?: number, transition?:
|
|
1641
|
-
moveInner(x: number | IPointData, y?: number, transition?:
|
|
1642
|
-
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number, resize?: boolean): void;
|
|
1686
|
+
setTransform(transform?: IMatrixData, resize?: boolean, transition?: ITransition): void;
|
|
1687
|
+
transform(transform?: IMatrixData, resize?: boolean, transition?: ITransition): void;
|
|
1688
|
+
move(x: number | IPointData, y?: number, transition?: ITransition): void;
|
|
1689
|
+
moveInner(x: number | IPointData, y?: number, transition?: ITransition): void;
|
|
1690
|
+
scaleOf(origin: IPointData | IAlign, scaleX: number, scaleY?: number | ITransition, resize?: boolean, transition?: ITransition): void;
|
|
1643
1691
|
rotateOf(origin: IPointData | IAlign, rotation: number): void;
|
|
1644
|
-
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean): void;
|
|
1645
|
-
transformWorld(worldTransform?: IMatrixData, resize?: boolean): void;
|
|
1646
|
-
moveWorld(x: number | IPointData, y?: number, transition?:
|
|
1647
|
-
scaleOfWorld(worldOrigin: IPointData, scaleX: number, scaleY?: number, resize?: boolean): void;
|
|
1648
|
-
rotateOfWorld(worldOrigin: IPointData, rotation: number): void;
|
|
1649
|
-
skewOfWorld(worldOrigin: IPointData, skewX: number, skewY?: number, resize?: boolean): void;
|
|
1650
|
-
flip(axis: IAxis): void;
|
|
1692
|
+
skewOf(origin: IPointData | IAlign, skewX: number, skewY?: number, resize?: boolean, transition?: ITransition): void;
|
|
1693
|
+
transformWorld(worldTransform?: IMatrixData, resize?: boolean, transition?: ITransition): void;
|
|
1694
|
+
moveWorld(x: number | IPointData, y?: number, transition?: ITransition): void;
|
|
1695
|
+
scaleOfWorld(worldOrigin: IPointData, scaleX: number, scaleY?: number | ITransition, resize?: boolean, transition?: ITransition): void;
|
|
1696
|
+
rotateOfWorld(worldOrigin: IPointData, rotation: number, transition?: ITransition): void;
|
|
1697
|
+
skewOfWorld(worldOrigin: IPointData, skewX: number, skewY?: number, resize?: boolean, transition?: ITransition): void;
|
|
1698
|
+
flip(axis: IAxis, transition?: ITransition): void;
|
|
1651
1699
|
scaleResize(scaleX: number, scaleY: number, noResize?: boolean): void;
|
|
1652
1700
|
__scaleResize(scaleX: number, scaleY: number): void;
|
|
1653
1701
|
resizeWidth(width: number): void;
|
|
@@ -2216,4 +2264,4 @@ interface ITransformer {
|
|
|
2216
2264
|
destroy(): void;
|
|
2217
2265
|
}
|
|
2218
2266
|
|
|
2219
|
-
export type { ACommandData, ArcCommandData, ArcToCommandData, BezierCurveToCommandObject, 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, ICursorConfig, 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, IFinder, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IFunctionMap, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, IJSONOptions, IKeepTouchData, IKeyEvent, ILayoutAttr, ILayoutBlockData, ILayoutBoundsData, ILayoutChangedData, ILayoutData, ILayoutEvent, ILayouter, ILayouterConfig, ILeaf, ILeafArrayMap, ILeafAttrData, ILeafAttrDescriptor, ILeafAttrDescriptorFn, ILeafBounds, ILeafBoundsModule, ILeafComputedData, ILeafData, ILeafDataOptions, ILeafDataProxy, ILeafDataProxyModule, ILeafEventer, ILeafEventerModule, ILeafHit, ILeafHitModule, ILeafInputData, ILeafLayout, ILeafLevelList, ILeafList, ILeafListItemCallback, ILeafMap, ILeafMatrix, ILeafMatrixModule, ILeafRender, ILeafRenderModule, ILeaferAttrData, ILeaferBase, ILeaferCanvas, ILeaferCanvasConfig, ILeaferCanvasView, ILeaferConfig, ILeaferEvent, ILeaferImage, ILeaferImageCacheCanvas, ILeaferImageConfig, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandObject, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPicker, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IRotationPointData, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISide, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITransformer, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IZoomConfig, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandObject, MCommandData, MoveToCommandObject, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
|
|
2267
|
+
export type { ACommandData, ArcCommandData, ArcToCommandData, BezierCurveToCommandObject, CCommandData, CanvasPathCommand, EllipseCommandData, HCommandData, IAlign, IAnimateEasing, IAnimateEasingFunction, IAnimateEasingName, IAnimateEnding, IAnimateEvent, IAnimateEventFunction, IAnimateEvents, IAnimateOptions, IAnswer, IAppBase, IAround, IAttrDecorator, IAutoBounds, IAutoBoundsData, IAutoBoxData, IAutoSize, IAxis, IAxisAlign, IAxisReverse, IBaseLineAlign, IBlendMode, IBlob, IBlobFunction, IBoolean, IBooleanMap, IBounds, IBoundsData, IBoundsDataFn, IBoundsType, IBranch, IBranchRender, IBranchRenderModule, ICachedLeaf, ICanvasAttr, ICanvasCacheOptions, ICanvasContext2D, ICanvasContext2DSettings, ICanvasManager, ICanvasPattern, ICanvasStrokeOptions, ICanvasType, IChildEvent, IClientPointData, IConstraint, IConstraintType, IControl, ICreator, ICubicBezierEasing, ICursorConfig, ICursorRotate, ICursorRotateMap, ICursorType, ICursorTypeMap, ICustomEasingFunction, IDataProcessor, IDataTypeHandle, IDirection, IDirection4, IDragEvent, IDropEvent, IEditSize, IEraserType, IEvent, IEventListener, IEventListenerId, IEventListenerItem, IEventListenerMap, IEventListenerOptions, IEventMap, IEventOption, IEventTarget, IEventer, IExportFileType, IExportImageType, IExportOnCanvasFunction, IExportOptions, IExportResult, IExportResultFunction, IFindCondition, IFindMethod, IFinder, IFlowAlign, IFlowAxisAlign, IFlowBoxType, IFlowType, IFlowWrap, IFourNumber, IFromToData, IFunction, IFunctionMap, IGap, IHitCanvas, IHitCanvasConfig, IHitCanvasManager, IHitType, IImageCursor, IImageEvent, IImageManager, IInteraction, IInteractionCanvas, IInteractionConfig, IJSONOptions, IKeepTouchData, IKeyEvent, ILayoutAttr, ILayoutBlockData, ILayoutBoundsData, ILayoutChangedData, ILayoutData, ILayoutEvent, ILayouter, ILayouterConfig, ILeaf, ILeafArrayMap, ILeafAttrData, ILeafAttrDescriptor, ILeafAttrDescriptorFn, ILeafBounds, ILeafBoundsModule, ILeafComputedData, ILeafData, ILeafDataOptions, ILeafDataProxy, ILeafDataProxyModule, ILeafEventer, ILeafEventerModule, ILeafHit, ILeafHitModule, ILeafInputData, ILeafLayout, ILeafLevelList, ILeafList, ILeafListItemCallback, ILeafMap, ILeafMatrix, ILeafMatrixModule, ILeafRender, ILeafRenderModule, ILeaferAttrData, ILeaferBase, ILeaferCanvas, ILeaferCanvasConfig, ILeaferCanvasView, ILeaferConfig, ILeaferEvent, ILeaferImage, ILeaferImageCacheCanvas, ILeaferImageConfig, ILeaferImageOnError, ILeaferImageOnLoaded, ILeaferImagePatternPaint, ILeaferType, ILeaferTypeCreator, ILeaferTypeFunction, ILeaferTypeList, ILocationType, IMaskType, IMatrix, IMatrixData, IMatrixWithBoundsData, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IMatrixWithOptionScaleData, IMatrixWithScaleData, IMiniapp, IMiniappSelect, IMiniappSizeView, IMotionPathData, IMoveConfig, IMoveEvent, IMultiTouchConfig, IMultiTouchData, INumber, INumberFunction, INumberMap, IObject, IObjectFunction, IOffsetBoundsData, IPartLayoutConfig, IPath2D, IPathCommandData, IPathCommandObject, IPathCreator, IPathDrawer, IPathString, IPercentData, IPickBottom, IPickOptions, IPickResult, IPicker, IPlatform, IPlugin, IPoint, IPointData, IPointDataFunction, IPointDataMap, IPointGap, IPointerConfig, IPointerEvent, IPropertyEvent, IRadiusPointData, IRangeSize, IRenderEvent, IRenderOptions, IRenderer, IRendererConfig, IResizeEvent, IResizeEventListener, IRotateEvent, IRotationPointData, IScaleData, IScaleRotationData, IScreenSizeData, IScrollPointData, ISelector, ISelectorConfig, ISelectorProxy, ISide, ISize, ISizeData, ISkewData, ISkiaCanvas, ISkiaCanvasExportConfig, ISkiaNAPICanvas, IStateStyleType, IStepsEasing, IString, IStringFunction, IStringMap, ISwipeEvent, ITaskItem, ITaskOptions, ITaskProcessor, ITaskProcessorConfig, ITextMetrics, ITimer, ITouchConfig, ITransformer, ITransition, ITwoPointBoundsData, IUICreator, IUIEvent, IUnitData, IUnitPointData, IUpdateEvent, IValue, IWatchEvent, IWatchEventData, IWatcher, IWatcherConfig, IWheelConfig, IWheelEvent, IWindingRule, IZoomConfig, IZoomEvent, IZoomType, IZoomView, InnerId, LCommandData, LineToCommandObject, MCommandData, MoveToCommandObject, PointerType, QCommandData, QuadraticCurveToCommandObject, RectCommandData, RoundRectCommandData, SCommandData, TCommandData, VCommandData, ZCommandData };
|