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