@leafer-ui/interface
Advanced tools
+2
-2
| { | ||
| "name": "@leafer-ui/interface", | ||
| "version": "2.0.1", | ||
| "version": "2.0.2", | ||
| "description": "@leafer-ui/interface", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/interface": "2.0.1" | ||
| "@leafer/interface": "2.0.2" | ||
| } | ||
| } |
+1
-1
@@ -19,6 +19,6 @@ export * from '@leafer/interface' | ||
| ICanvas, ICanvasInputData, ICanvasData, | ||
| IFilm, IFilmInputData, IFilmData, | ||
| IFrame, IFrameInputData, IFrameData, | ||
| IFlow, IFlowInputData, IFlowData, | ||
| IVideo, IVideoInputData, IVideoData, | ||
| IGIF, IGIFInputData, IGIFData, | ||
| IRobot, IRobotInputData, IRobotData, IRobotActions, IRobotActionName, IRobotKeyframe, IRobotComputedKeyframe, IRobotAnimation, | ||
@@ -25,0 +25,0 @@ IBox, IBoxInputData, IBoxData, |
+90
-85
@@ -1,2 +0,2 @@ | ||
| import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPathDrawer, IPointData, IPathCommandData, IBoundsData, IObject, IPathString, ILeaferImage, IPathCreator, IAnswer, IPickOptions, IPickResult, IValue, ICanvasContext2DSettings, IFourNumber, IFindCondition, IBoolean, ICanvasContext2D, IJSONOptions, IMatrixData, ISizeData, ITransition, IAround } from '@leafer/interface' | ||
| import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPathDrawer, IPointData, IPathCommandData, IBoundsData, IObject, IPathString, ILeaferImage, IPathCreator, IAnswer, IPickOptions, IPickResult, IValue, ICanvasContext2DSettings, IFourNumber, IFindCondition, IBoolean, ICanvasContext2D, IJSONOptions, IMatrixData, ISizeData, ITransition, IAround, IMultimediaType } from '@leafer/interface' | ||
@@ -76,84 +76,2 @@ import { | ||
| // Video | ||
| export interface IVideo extends IPlayerMethods, IRect { | ||
| __: IVideoData | ||
| } | ||
| interface IPlayerMethods { | ||
| play(): void | ||
| pause(): void | ||
| stop(): void | ||
| } | ||
| interface IVideoAttrData { | ||
| url?: string | ||
| } | ||
| export interface IVideoData extends IVideoAttrData, IRectData { } | ||
| export interface IVideoInputData extends IVideoAttrData, IRectInputData { } | ||
| // GIF | ||
| export interface IGIF extends IPlayerMethods, IRect { | ||
| __: IGIFData | ||
| } | ||
| interface IGIFAttrData { | ||
| url?: string | ||
| } | ||
| export interface IGIFData extends IGIFAttrData, IRectData { } | ||
| export interface IGIFInputData extends IGIFAttrData, IRectInputData { } | ||
| // Robot | ||
| export interface IRobot extends IRobotAttrData, IPlayerMethods, IRect { | ||
| __: IRobotData | ||
| readonly running: boolean | ||
| readonly nowFrame?: IRobotComputedKeyframe | ||
| readonly robotFrames?: IRobotComputedKeyframe[] | ||
| __updateRobot(): void | ||
| __updateAction(): void | ||
| } | ||
| interface IRobotAttrData { | ||
| robot?: IRobotKeyframe | IRobotKeyframe[] | ||
| actions?: IRobotActions | ||
| action?: IRobotActionName | ||
| now?: number | ||
| FPS?: number | ||
| loop?: boolean | number | ||
| } | ||
| export interface IRobotActions { | ||
| [name: string]: IKeyframeId | IKeyframeId[] | IRobotAnimation | ||
| } | ||
| export interface IRobotAnimation { | ||
| keyframes: IKeyframeId[] | ||
| loop?: boolean | number | ||
| FPS?: number | ||
| } | ||
| export type IRobotActionName = string | ||
| export interface IRobotKeyframe { | ||
| mode?: 'normal' | 'clip' | ||
| url: string | ||
| offset?: IPointData | ||
| size?: number | ISizeData | ||
| total?: number | ||
| } | ||
| export interface IRobotComputedKeyframe extends IBoundsData { | ||
| view: any | ||
| } | ||
| export interface IRobotData extends IRobotAttrData, IRectData { } | ||
| export interface IRobotInputData extends IRobotAttrData, IRectInputData { } | ||
| // Rect | ||
@@ -317,2 +235,3 @@ export interface IRect extends IUI { | ||
| export interface IImageData extends IImageAttrData, IRectData { | ||
| readonly __urlType: IMultimediaType | ||
| __setImageFill(value: string): void | ||
@@ -322,2 +241,4 @@ } | ||
| // Canvas | ||
| export interface ICanvas extends ICanvasAttrData, IRect { | ||
@@ -339,2 +260,86 @@ __: ICanvasData | ||
| // Film | ||
| export interface IFilm extends IFilmAttrData, IPlayerMethods, IImage { | ||
| __: IFilmData | ||
| } | ||
| interface IFilmAttrData { | ||
| url?: string | ||
| } | ||
| export interface IFilmData extends IFilmAttrData, IImageData { | ||
| } | ||
| export interface IFilmInputData extends IFilmAttrData, IUIBaseInputData { } | ||
| // Video | ||
| export interface IVideo extends IVideoAttrData, IPlayerMethods, IImage { | ||
| __: IVideoData | ||
| } | ||
| interface IPlayerMethods { | ||
| togglePlay(): void | ||
| play(): void | ||
| pause(): void | ||
| stop(): void | ||
| } | ||
| interface IVideoAttrData { | ||
| url?: string | ||
| } | ||
| export interface IVideoData extends IVideoAttrData, IImageData { } | ||
| export interface IVideoInputData extends IVideoAttrData, IImageInputData { } | ||
| // Robot | ||
| export interface IRobot extends IRobotAttrData, IPlayerMethods, IRect { | ||
| __: IRobotData | ||
| readonly running: boolean | ||
| readonly nowFrame?: IRobotComputedKeyframe | ||
| readonly robotFrames?: IRobotComputedKeyframe[] | ||
| __updateRobot(): void | ||
| __updateAction(): void | ||
| } | ||
| interface IRobotAttrData { | ||
| robot?: IRobotKeyframe | IRobotKeyframe[] | ||
| actions?: IRobotActions | ||
| action?: IRobotActionName | ||
| now?: number | ||
| FPS?: number | ||
| loop?: boolean | number | ||
| } | ||
| export interface IRobotActions { | ||
| [name: string]: IKeyframeId | IKeyframeId[] | IRobotAnimation | ||
| } | ||
| export interface IRobotAnimation { | ||
| keyframes: IKeyframeId[] | ||
| loop?: boolean | number | ||
| FPS?: number | ||
| } | ||
| export type IRobotActionName = string | ||
| export interface IRobotKeyframe { | ||
| mode?: 'normal' | 'clip' | ||
| url: string | ||
| offset?: IPointData | ||
| size?: number | ISizeData | ||
| total?: number | ||
| } | ||
| export interface IRobotComputedKeyframe extends IBoundsData { | ||
| view: any | ||
| } | ||
| export interface IRobotData extends IRobotAttrData, IRectData { } | ||
| export interface IRobotInputData extends IRobotAttrData, IRectInputData { } | ||
| // Leafer | ||
@@ -578,3 +583,3 @@ export interface ILeaferData extends IGroupData { | ||
| | 'Robot' | ||
| | 'GIF' | ||
| | 'Film' | ||
| | 'Video' | ||
@@ -584,3 +589,3 @@ | (string & {}) | ||
| export interface IUIInputData extends IRectInputData, IEllipseInputData, IPolygonInputData, IStarInputData, ILineInputData, IPathInputData, ITextInputData, IImageInputData, IGroupInputData, IBoxInputData, IFrameInputData, IFlowInputData, IArrowInputData, IGIFInputData, IVideoInputData, IRobotInputData, IUIBaseInputData, IObject { | ||
| export interface IUIInputData extends IRectInputData, IEllipseInputData, IPolygonInputData, IStarInputData, ILineInputData, IPathInputData, ITextInputData, IImageInputData, IGroupInputData, IBoxInputData, IFrameInputData, IFlowInputData, IArrowInputData, IVideoInputData, IRobotInputData, IUIBaseInputData, IObject { | ||
| children?: IUIInputData[] | ||
@@ -587,0 +592,0 @@ } |
@@ -33,2 +33,5 @@ import { ILeaferCanvas, IRenderOptions, IBooleanMap, IBoundsData, ILeaferImage, IAlign, IPointData, IMatrixData, IScaleData, IFunction, ITaskItem } from '@leafer/interface' | ||
| film?(paint: ILeafPaint): void | ||
| video?(paint: ILeafPaint): void | ||
| checkImage(paint: ILeafPaint, allowDraw: boolean, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): boolean // 返回true表示已进行了原生绘制 | ||
@@ -35,0 +38,0 @@ drawImage(paint: ILeafPaint, imageScaleX: number, imageScaleY: number, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void |
@@ -1,5 +0,5 @@ | ||
| import { IBlendMode, IDirection, IInterlace, ILeaferImage, IMatrixData, IPointData, IScaleFixed, ITaskItem } from '@leafer/interface' | ||
| import { IBlendMode, IDirection, IFilmPlayOptions, IInterlace, ILeaferImage, IMatrixData, IPointData, IScaleFixed, ITaskItem } from '@leafer/interface' | ||
| import { IColorString } from './IStringType' | ||
| import { IStrokeAlign, IStrokeJoin, IStrokeCap, IImagePaintMode, IImageFilters, IPaint } from './IType' | ||
| import { IStrokeAlign, IStrokeJoin, IStrokeCap, IImagePaintMode, IPaint } from './IType' | ||
| import { IPaintType } from './IType' | ||
@@ -10,3 +10,3 @@ import { IStrokeComputedStyle } from '../ICommonAttr' | ||
| export interface ILeafPaint { | ||
| export interface ILeafPaint extends IFilmPlayOptions { | ||
| type?: IPaintType | ||
@@ -22,9 +22,13 @@ style?: ILeafPaintColor | ||
| loadId?: number | ||
| patternId?: string | ||
| patternId?: string | number | ||
| patternTask?: ITaskItem | ||
| progressTimer?: any | ||
| complex?: boolean | 2 // 绘制原图时canvas需要save、restore, 为2表示需要clipUI | ||
| isTransparent?: boolean // 是否为透明色 | ||
| data?: ILeafPaintPatternData | ||
| originPaint?: IPaint // 原始paint对象 | ||
| film?: boolean // flim或video类型 | ||
| } | ||
@@ -36,5 +40,3 @@ | ||
| gap?: IPointData | ||
| opacity?: number | ||
| transform?: IMatrixData | ||
| filters?: IImageFilters | ||
| mode?: IImagePaintMode | ||
@@ -41,0 +43,0 @@ repeat?: 'repeat' | 'repeat-x' | 'repeat-y' |
@@ -1,2 +0,2 @@ | ||
| import { IPointData, IPathCommandData, IWindingRule, IBlendMode, IExportFileType, IFourNumber, IAlign, IUnitPointData, IAxis, IAxisReverse, IInterlace, IFilter, IOptionSizeData, ISizeData, IGap, IPointGap, IScaleFixed, IDirection, IImageLOD, IPercentData } from '@leafer/interface' | ||
| import { IPointData, IPathCommandData, IWindingRule, IBlendMode, IExportFileType, IMultimediaType, IFourNumber, IAlign, IUnitPointData, IAxis, IAxisReverse, IInterlace, IFilter, IOptionSizeData, ISizeData, IGap, IPointGap, IScaleFixed, IDirection, IImageLOD, IPercentData, IFilmOptions } from '@leafer/interface' | ||
| import { IColorString, IPaintString } from './IStringType' | ||
@@ -27,5 +27,5 @@ import { IStrokeStyle } from '../ICommonAttr' | ||
| export type IPaintType = | ||
| | 'image' | ||
| | 'solid' | ||
| | IGradientType | ||
| | IMultimediaType | ||
@@ -74,4 +74,4 @@ export type IGradientType = | ||
| // --- | ||
| export interface IImagePaint extends IPaintBase { | ||
| type: "image" | ||
| export interface IImagePaint extends IPaintBase, IFilmOptions { | ||
| type: IMultimediaType | ||
@@ -78,0 +78,0 @@ url: string |
+79
-75
@@ -1,2 +0,2 @@ | ||
| import { IBlendMode, IScaleFixed, IAlign, IUnitPointData, IImageLOD, IExportFileType, IFourNumber, IPointData, IOptionSizeData, ISizeData, IGap, IPointGap, IPercentData, IInterlace, IPathCommandData, IAxis, IAxisReverse, IDirection, IWindingRule, IFilter, IMatrixData, ILeaferImage, ITaskItem, INumber, IString, IBoolean, IUnitData, IAnimateOptions, IAnimateEasing, IEventer, IObject, IEventParamsMap, IAnimateEasingFunction, IAnimateEnding, ITransition, IBounds, ILeafInputData, ILeaf as ILeaf$1, ILeafComputedData, ILeafData, IBoundsData, IValue, IPathCreator, IJSONOptions, IFindCondition, IAnswer, IPathString, IPathDrawer, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPickOptions, IPickResult, IAround, ICanvasContext2DSettings, ICanvasContext2D, ILeaferAttrData, IControl, ILeaferType, ILeaferConfig, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IScaleData as IScaleData$1, IBooleanMap, IFunction, IMatrixWithBoundsScaleData } from '@leafer/interface'; | ||
| import { IMultimediaType, IBlendMode, IScaleFixed, IAlign, IUnitPointData, IFilmOptions, IImageLOD, IExportFileType, IFourNumber, IPointData, IOptionSizeData, ISizeData, IGap, IPointGap, IPercentData, IInterlace, IPathCommandData, IAxis, IAxisReverse, IDirection, IWindingRule, IFilter, IFilmPlayOptions, IMatrixData, ILeaferImage, ITaskItem, INumber, IString, IBoolean, IUnitData, IAnimateOptions, IAnimateEasing, IEventer, IObject, IEventParamsMap, IAnimateEasingFunction, IAnimateEnding, ITransition, IBounds, ILeafInputData, ILeaf as ILeaf$1, ILeafComputedData, ILeafData, IBoundsData, IValue, IPathCreator, IJSONOptions, IFindCondition, IAnswer, IPathString, IPathDrawer, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPickOptions, IPickResult, IAround, ICanvasContext2DSettings, ICanvasContext2D, ILeaferAttrData, IControl, ILeaferType, ILeaferConfig, ILeafRender, ILeafBounds, ILeafHit, ICachedLeaf, IScaleData as IScaleData$1, IBooleanMap, IFunction, IMatrixWithBoundsScaleData } from '@leafer/interface'; | ||
| export * from '@leafer/interface'; | ||
@@ -30,3 +30,3 @@ import { IObject as IObject$1, IEditSize, IStroke as IStroke$1, IFourNumber as IFourNumber$1, IFill as IFill$1, IBoxInputData as IBoxInputData$1, IRectInputData as IRectInputData$1, IColorString as IColorString$1, IDirection4, ICursorType, IImageCursor, IAlign as IAlign$1, IUnitPointData as IUnitPointData$1, IUIInputData as IUIInputData$1, IShortcutKeysCheck, IShortcutKeys, IUI as IUI$1, IPointData as IPointData$1, IScaleData, ISkewData, IGroup as IGroup$1, ISelectorProxy, IBox as IBox$1, ILayoutBoundsData, IKeyEvent, IUIEvent, IDragEvent, IMoveEvent, IZoomEvent, IRotateEvent, ITransition as ITransition$1, ILeafList, ILeafer as ILeafer$1, ILeaf, IGroupInputData as IGroupInputData$1, IStateName as IStateName$1, IString as IString$1, IBoolean as IBoolean$1, IStateStyle as IStateStyle$1 } from '@leafer-ui/interface'; | ||
| } | ||
| type IPaintType = 'image' | 'solid' | IGradientType; | ||
| type IPaintType = 'solid' | IGradientType | IMultimediaType; | ||
| type IGradientType = 'linear' | 'radial' | 'angular'; | ||
@@ -63,4 +63,4 @@ interface ISolidPaint extends IPaintBase { | ||
| } | ||
| interface IImagePaint extends IPaintBase { | ||
| type: "image"; | ||
| interface IImagePaint extends IPaintBase, IFilmOptions { | ||
| type: IMultimediaType; | ||
| url: string; | ||
@@ -171,3 +171,3 @@ lod?: IImageLOD; | ||
| type ILeafPaintColor = IColorString | CanvasGradient | CanvasPattern; | ||
| interface ILeafPaint { | ||
| interface ILeafPaint extends IFilmPlayOptions { | ||
| type?: IPaintType; | ||
@@ -181,8 +181,10 @@ style?: ILeafPaintColor; | ||
| loadId?: number; | ||
| patternId?: string; | ||
| patternId?: string | number; | ||
| patternTask?: ITaskItem; | ||
| progressTimer?: any; | ||
| complex?: boolean | 2; | ||
| isTransparent?: boolean; | ||
| data?: ILeafPaintPatternData; | ||
| originPaint?: IPaint; | ||
| film?: boolean; | ||
| } | ||
@@ -193,5 +195,3 @@ interface ILeafPaintPatternData { | ||
| gap?: IPointData; | ||
| opacity?: number; | ||
| transform?: IMatrixData; | ||
| filters?: IImageFilters; | ||
| mode?: IImagePaintMode; | ||
@@ -749,66 +749,2 @@ repeat?: 'repeat' | 'repeat-x' | 'repeat-y'; | ||
| } | ||
| interface IVideo extends IPlayerMethods, IRect { | ||
| __: IVideoData; | ||
| } | ||
| interface IPlayerMethods { | ||
| play(): void; | ||
| pause(): void; | ||
| stop(): void; | ||
| } | ||
| interface IVideoAttrData { | ||
| url?: string; | ||
| } | ||
| interface IVideoData extends IVideoAttrData, IRectData { | ||
| } | ||
| interface IVideoInputData extends IVideoAttrData, IRectInputData { | ||
| } | ||
| interface IGIF extends IPlayerMethods, IRect { | ||
| __: IGIFData; | ||
| } | ||
| interface IGIFAttrData { | ||
| url?: string; | ||
| } | ||
| interface IGIFData extends IGIFAttrData, IRectData { | ||
| } | ||
| interface IGIFInputData extends IGIFAttrData, IRectInputData { | ||
| } | ||
| interface IRobot extends IRobotAttrData, IPlayerMethods, IRect { | ||
| __: IRobotData; | ||
| readonly running: boolean; | ||
| readonly nowFrame?: IRobotComputedKeyframe; | ||
| readonly robotFrames?: IRobotComputedKeyframe[]; | ||
| __updateRobot(): void; | ||
| __updateAction(): void; | ||
| } | ||
| interface IRobotAttrData { | ||
| robot?: IRobotKeyframe | IRobotKeyframe[]; | ||
| actions?: IRobotActions; | ||
| action?: IRobotActionName; | ||
| now?: number; | ||
| FPS?: number; | ||
| loop?: boolean | number; | ||
| } | ||
| interface IRobotActions { | ||
| [name: string]: IKeyframeId | IKeyframeId[] | IRobotAnimation; | ||
| } | ||
| interface IRobotAnimation { | ||
| keyframes: IKeyframeId[]; | ||
| loop?: boolean | number; | ||
| FPS?: number; | ||
| } | ||
| type IRobotActionName = string; | ||
| interface IRobotKeyframe { | ||
| mode?: 'normal' | 'clip'; | ||
| url: string; | ||
| offset?: IPointData; | ||
| size?: number | ISizeData; | ||
| total?: number; | ||
| } | ||
| interface IRobotComputedKeyframe extends IBoundsData { | ||
| view: any; | ||
| } | ||
| interface IRobotData extends IRobotAttrData, IRectData { | ||
| } | ||
| interface IRobotInputData extends IRobotAttrData, IRectInputData { | ||
| } | ||
| interface IRect extends IUI { | ||
@@ -950,2 +886,3 @@ __: IRectData; | ||
| interface IImageData extends IImageAttrData, IRectData { | ||
| readonly __urlType: IMultimediaType; | ||
| __setImageFill(value: string): void; | ||
@@ -971,2 +908,67 @@ } | ||
| } | ||
| interface IFilm extends IFilmAttrData, IPlayerMethods, IImage { | ||
| __: IFilmData; | ||
| } | ||
| interface IFilmAttrData { | ||
| url?: string; | ||
| } | ||
| interface IFilmData extends IFilmAttrData, IImageData { | ||
| } | ||
| interface IFilmInputData extends IFilmAttrData, IUIBaseInputData { | ||
| } | ||
| interface IVideo extends IVideoAttrData, IPlayerMethods, IImage { | ||
| __: IVideoData; | ||
| } | ||
| interface IPlayerMethods { | ||
| togglePlay(): void; | ||
| play(): void; | ||
| pause(): void; | ||
| stop(): void; | ||
| } | ||
| interface IVideoAttrData { | ||
| url?: string; | ||
| } | ||
| interface IVideoData extends IVideoAttrData, IImageData { | ||
| } | ||
| interface IVideoInputData extends IVideoAttrData, IImageInputData { | ||
| } | ||
| interface IRobot extends IRobotAttrData, IPlayerMethods, IRect { | ||
| __: IRobotData; | ||
| readonly running: boolean; | ||
| readonly nowFrame?: IRobotComputedKeyframe; | ||
| readonly robotFrames?: IRobotComputedKeyframe[]; | ||
| __updateRobot(): void; | ||
| __updateAction(): void; | ||
| } | ||
| interface IRobotAttrData { | ||
| robot?: IRobotKeyframe | IRobotKeyframe[]; | ||
| actions?: IRobotActions; | ||
| action?: IRobotActionName; | ||
| now?: number; | ||
| FPS?: number; | ||
| loop?: boolean | number; | ||
| } | ||
| interface IRobotActions { | ||
| [name: string]: IKeyframeId | IKeyframeId[] | IRobotAnimation; | ||
| } | ||
| interface IRobotAnimation { | ||
| keyframes: IKeyframeId[]; | ||
| loop?: boolean | number; | ||
| FPS?: number; | ||
| } | ||
| type IRobotActionName = string; | ||
| interface IRobotKeyframe { | ||
| mode?: 'normal' | 'clip'; | ||
| url: string; | ||
| offset?: IPointData; | ||
| size?: number | ISizeData; | ||
| total?: number; | ||
| } | ||
| interface IRobotComputedKeyframe extends IBoundsData { | ||
| view: any; | ||
| } | ||
| interface IRobotData extends IRobotAttrData, IRectData { | ||
| } | ||
| interface IRobotInputData extends IRobotAttrData, IRectInputData { | ||
| } | ||
| interface ILeaferData extends IGroupData { | ||
@@ -1126,4 +1128,4 @@ } | ||
| } | ||
| type IUITag = 'App' | 'Leafer' | 'Rect' | 'Ellipse' | 'Polygon' | 'Star' | 'Line' | 'Path' | 'Pen' | 'Text' | 'Image' | 'Canvas' | 'Group' | 'Frame' | 'Box' | 'Arrow' | 'Robot' | 'GIF' | 'Video' | (string & {}); | ||
| interface IUIInputData extends IRectInputData, IEllipseInputData, IPolygonInputData, IStarInputData, ILineInputData, IPathInputData, ITextInputData, IImageInputData, IGroupInputData, IBoxInputData, IFrameInputData, IFlowInputData, IArrowInputData, IGIFInputData, IVideoInputData, IRobotInputData, IUIBaseInputData, IObject { | ||
| type IUITag = 'App' | 'Leafer' | 'Rect' | 'Ellipse' | 'Polygon' | 'Star' | 'Line' | 'Path' | 'Pen' | 'Text' | 'Image' | 'Canvas' | 'Group' | 'Frame' | 'Box' | 'Arrow' | 'Robot' | 'Film' | 'Video' | (string & {}); | ||
| interface IUIInputData extends IRectInputData, IEllipseInputData, IPolygonInputData, IStarInputData, ILineInputData, IPathInputData, ITextInputData, IImageInputData, IGroupInputData, IBoxInputData, IFrameInputData, IFlowInputData, IArrowInputData, IVideoInputData, IRobotInputData, IUIBaseInputData, IObject { | ||
| children?: IUIInputData[]; | ||
@@ -1274,2 +1276,4 @@ } | ||
| image(ui: IUI, attrName: string, paint: IImagePaint, boxBounds: IBoundsData, firstUse: boolean): ILeafPaint; | ||
| film?(paint: ILeafPaint): void; | ||
| video?(paint: ILeafPaint): void; | ||
| checkImage(paint: ILeafPaint, allowDraw: boolean, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): boolean; | ||
@@ -1324,2 +1328,2 @@ drawImage(paint: ILeafPaint, imageScaleX: number, imageScaleY: number, ui: IUI, canvas: ILeaferCanvas, renderOptions: IRenderOptions): void; | ||
| export type { IAnimate, IAnimateKeyframe, IAnimateList, IAnimateType, IAnimation, IApp, IAppConfig, IAppData, IAppForEachFunction, IAppInputData, IArrow, IArrowData, IArrowInputData, IArrowStyle, IArrowType, IArrowTypeData, IBackgroundBoxStyle, IBlurEffect, IBox, IBoxData, IBoxInputData, ICachedShape, ICanvas, ICanvasData, ICanvasInputData, IColor, IColorConvertModule, IColorStop, IColorString, IComputedKeyframe, ICornerRadiusString, IDashPatternString, IEditBoxBase, IEditPoint, IEditPointInputData, IEditPointType, IEditToolFunction, IEditorBase, IEditorBeforeEditInner, IEditorBeforeEditOuter, IEditorBeforeMove, IEditorBeforeRotate, IEditorBeforeScale, IEditorBeforeSelect, IEditorBeforeSkew, IEditorConfig, IEditorConfigFunction, IEditorDragStartData, IEditorEditInnerData, IEditorEditOuterData, IEditorMoveData, IEditorRotationData, IEditorScaleData, IEditorSelectData, IEditorSkewData, IEffect, IEffectAttrData, IEffectComputedData, IEffectInputData, IEffectModule, IEllipse, IEllipseData, IEllipseInputData, IExportModule, IFill, IFilterFunction, IFilterModule, IFilterProcessor, IFindUIMethod, IFlow, IFlowData, IFlowInputData, IFontWeight, IFontWeightNumer, IFontWeightString, IFrame, IFrameData, IFrameInputData, IFrameRenderModule, IGIF, IGIFData, IGIFInputData, IGradientPaint, IGradientType, IGrayscaleEffect, IGroup, IGroupData, IGroupInputData, IGroupRenderModule, IImage, IImageData, IImageFilters, IImageInputData, IImagePaint, IImagePaintMode, IImageRenderModule, IKeyframe, IKeyframeId, IKeyframesAnimation, ILeafFill, ILeafPaint, ILeafPaintColor, ILeafPaintPatternData, ILeafShadowEffect, ILeafStrokePaint, ILeafer, ILeaferData, ILeaferInputData, ILine, ILineData, ILineInputData, ILinker, ILinkerData, ILinkerInputData, ILinkerPointData, IOverflow, IPaint, IPaintAttr, IPaintBase, IPaintGradientModule, IPaintImageModule, IPaintModule, IPaintString, IPaintType, IPath, IPathArrowModule, IPathData, IPathDataArrow, IPathDataArrowMap, IPathDataArrowOffset, IPathInputData, IPen, IPenData, IPenInputData, IPercent, IPolygon, IPolygonData, IPolygonInputData, IRGB, IRGBA, IRect, IRectData, IRectInputData, IRectRenderModule, IRepeat, IRobot, IRobotActionName, IRobotActions, IRobotAnimation, IRobotComputedKeyframe, IRobotData, IRobotInputData, IRobotKeyframe, IScrollConfig, IScrollTheme, IScroller, IShadowEffect, IShadowString, ISolidPaint, IStar, IStarData, IStarInputData, IStateModule, IStateName, IStateStyle, IStates, IStroke, IStrokeAlign, IStrokeAttrData, IStrokeCap, IStrokeComputedData, IStrokeComputedStyle, IStrokeGradientPaint, IStrokeImagePaint, IStrokeInputData, IStrokeJoin, IStrokePaint, IStrokeSolidPaint, IStrokeStyle, IStrokeWidthString, IStyleAnimation, IText, ITextAlign, ITextCase, ITextCharData, ITextConvertModule, ITextData, ITextDecoration, ITextDecorationData, ITextDecorationType, ITextDrawData, ITextInputData, ITextOverflow, ITextRenderModule, ITextRowData, ITextStyleAttrData, ITextStyleComputedData, ITextStyleInputData, ITextWordData, ITextWrap, ITransformTool, ITransitionFunction, ITransitionMap, ITransitionModule, IUI, IUIBaseInputData, IUIBoundsModule, IUIData, IUIHitModule, IUIInputData, IUIJSONData, IUIRenderModule, IUITag, IVectorPath, IVerticalAlign, IVideo, IVideoData, IVideoInputData, IWritingMode }; | ||
| export type { IAnimate, IAnimateKeyframe, IAnimateList, IAnimateType, IAnimation, IApp, IAppConfig, IAppData, IAppForEachFunction, IAppInputData, IArrow, IArrowData, IArrowInputData, IArrowStyle, IArrowType, IArrowTypeData, IBackgroundBoxStyle, IBlurEffect, IBox, IBoxData, IBoxInputData, ICachedShape, ICanvas, ICanvasData, ICanvasInputData, IColor, IColorConvertModule, IColorStop, IColorString, IComputedKeyframe, ICornerRadiusString, IDashPatternString, IEditBoxBase, IEditPoint, IEditPointInputData, IEditPointType, IEditToolFunction, IEditorBase, IEditorBeforeEditInner, IEditorBeforeEditOuter, IEditorBeforeMove, IEditorBeforeRotate, IEditorBeforeScale, IEditorBeforeSelect, IEditorBeforeSkew, IEditorConfig, IEditorConfigFunction, IEditorDragStartData, IEditorEditInnerData, IEditorEditOuterData, IEditorMoveData, IEditorRotationData, IEditorScaleData, IEditorSelectData, IEditorSkewData, IEffect, IEffectAttrData, IEffectComputedData, IEffectInputData, IEffectModule, IEllipse, IEllipseData, IEllipseInputData, IExportModule, IFill, IFilm, IFilmData, IFilmInputData, IFilterFunction, IFilterModule, IFilterProcessor, IFindUIMethod, IFlow, IFlowData, IFlowInputData, IFontWeight, IFontWeightNumer, IFontWeightString, IFrame, IFrameData, IFrameInputData, IFrameRenderModule, IGradientPaint, IGradientType, IGrayscaleEffect, IGroup, IGroupData, IGroupInputData, IGroupRenderModule, IImage, IImageData, IImageFilters, IImageInputData, IImagePaint, IImagePaintMode, IImageRenderModule, IKeyframe, IKeyframeId, IKeyframesAnimation, ILeafFill, ILeafPaint, ILeafPaintColor, ILeafPaintPatternData, ILeafShadowEffect, ILeafStrokePaint, ILeafer, ILeaferData, ILeaferInputData, ILine, ILineData, ILineInputData, ILinker, ILinkerData, ILinkerInputData, ILinkerPointData, IOverflow, IPaint, IPaintAttr, IPaintBase, IPaintGradientModule, IPaintImageModule, IPaintModule, IPaintString, IPaintType, IPath, IPathArrowModule, IPathData, IPathDataArrow, IPathDataArrowMap, IPathDataArrowOffset, IPathInputData, IPen, IPenData, IPenInputData, IPercent, IPolygon, IPolygonData, IPolygonInputData, IRGB, IRGBA, IRect, IRectData, IRectInputData, IRectRenderModule, IRepeat, IRobot, IRobotActionName, IRobotActions, IRobotAnimation, IRobotComputedKeyframe, IRobotData, IRobotInputData, IRobotKeyframe, IScrollConfig, IScrollTheme, IScroller, IShadowEffect, IShadowString, ISolidPaint, IStar, IStarData, IStarInputData, IStateModule, IStateName, IStateStyle, IStates, IStroke, IStrokeAlign, IStrokeAttrData, IStrokeCap, IStrokeComputedData, IStrokeComputedStyle, IStrokeGradientPaint, IStrokeImagePaint, IStrokeInputData, IStrokeJoin, IStrokePaint, IStrokeSolidPaint, IStrokeStyle, IStrokeWidthString, IStyleAnimation, IText, ITextAlign, ITextCase, ITextCharData, ITextConvertModule, ITextData, ITextDecoration, ITextDecorationData, ITextDecorationType, ITextDrawData, ITextInputData, ITextOverflow, ITextRenderModule, ITextRowData, ITextStyleAttrData, ITextStyleComputedData, ITextStyleInputData, ITextWordData, ITextWrap, ITransformTool, ITransitionFunction, ITransitionMap, ITransitionModule, IUI, IUIBaseInputData, IUIBoundsModule, IUIData, IUIHitModule, IUIInputData, IUIJSONData, IUIRenderModule, IUITag, IVectorPath, IVerticalAlign, IVideo, IVideoData, IVideoInputData, IWritingMode }; |
110244
0.61%2759
0.36%+ Added
- Removed
Updated