@leafer-ui/interface
Advanced tools
+2
-2
| { | ||
| "name": "@leafer-ui/interface", | ||
| "version": "1.0.0-rc.23", | ||
| "version": "1.0.0-rc.24", | ||
| "description": "@leafer-ui/interface", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/interface": "1.0.0-rc.23" | ||
| "@leafer/interface": "1.0.0-rc.24" | ||
| } | ||
| } |
+4
-5
@@ -315,2 +315,4 @@ import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, IExportOptions, IExportResult, IPathDrawer, IPointData, IPathCommandData, ILeaferImageConfig, IBoundsData, IObject, IPathString, ILeaferImage, IPathCreator, IAnswer, IPickOptions, IPickResult, IValue, ICanvasContext2DSettings, IFourNumber, IFindCondition } from '@leafer/interface' | ||
| readonly pen: IPathCreator | ||
| reset(data?: IUIInputData): void | ||
@@ -332,2 +334,4 @@ | ||
| load(): void | ||
| __drawPathByData(drawer: IPathDrawer, data: IPathCommandData): void | ||
@@ -374,7 +378,2 @@ __drawPathByBox(drawer: IPathDrawer): void | ||
| readonly __autoWidth: boolean | ||
| readonly __autoHeight: boolean | ||
| readonly __autoSide: boolean | ||
| readonly __autoSize: boolean | ||
| __boxStroke?: boolean | ||
@@ -381,0 +380,0 @@ |
@@ -1,2 +0,2 @@ | ||
| import { IPointData, IPathCommandData, IWindingRule, IBlendMode, IExportFileType, ISizeData, IFourNumber, IAlign } from '@leafer/interface' | ||
| import { IPointData, IPathCommandData, IWindingRule, IBlendMode, IExportFileType, ISizeData, IFourNumber, IAlign, IUnitPointData } from '@leafer/interface' | ||
| import { IColorString, IPaintString } from './IStringType' | ||
@@ -50,6 +50,6 @@ | ||
| type: IGradientType | ||
| from?: IPointData | ||
| to?: IPointData | ||
| from?: IAlign | IUnitPointData | ||
| to?: IAlign | IUnitPointData | ||
| stretch?: number | ||
| stops: IColorStop[] | ||
| stops: IColorStop[] | IColorString[] | ||
| } | ||
@@ -56,0 +56,0 @@ export interface IColorStop { |
+8
-10
@@ -1,4 +0,4 @@ | ||
| import { IPointData, IExportFileType, IFourNumber, IAlign, ISizeData, IPathCommandData, IWindingRule, IBlendMode, IMatrixData, ILeaferImage, ITaskItem, INumber, IBoolean, IString, IUnitData, IPathCreator, IBoundsData as IBoundsData$1, ILeaferImageConfig, ICanvasContext2DSettings, ILeaferCanvas, IRenderOptions, IPickOptions, IPickResult, ILeaf as ILeaf$1, IValue, IFindCondition, IPathString, IPathDrawer, IExportOptions, IExportResult, IAnswer, ILeafData, ILeafComputedData, ILeafInputData, IObject as IObject$1, ILeaferAttrData, IControl, ILeaferConfig, ILeaferType, ILeafRender, ILeafBounds, ILeafHit, IStateStyleType, ICachedLeaf, IBooleanMap, IAround } from '@leafer/interface'; | ||
| import { IAlign, IUnitPointData, IExportFileType, IFourNumber, IPointData, ISizeData, IPathCommandData, IWindingRule, IBlendMode, IMatrixData, ILeaferImage, ITaskItem, INumber, IBoolean, IString, IUnitData, IPathCreator, IBoundsData as IBoundsData$1, ILeaferImageConfig, ICanvasContext2DSettings, ILeaferCanvas, IRenderOptions, IPickOptions, IPickResult, ILeaf as ILeaf$1, IValue, IFindCondition, IPathString, IPathDrawer, IExportOptions, IExportResult, IAnswer, ILeafData, ILeafComputedData, ILeafInputData, IObject as IObject$1, ILeaferAttrData, IControl, ILeaferConfig, ILeaferType, ILeafRender, ILeafBounds, ILeafHit, IStateStyleType, ICachedLeaf, IBooleanMap, IAround } from '@leafer/interface'; | ||
| export * from '@leafer/interface'; | ||
| import { IGroup as IGroup$1, ISelectorProxy, IUI as IUI$1, ILeafList, IObject, ILeaf, IEditSize, IDragEvent, IRotateEvent, IGroupInputData as IGroupInputData$1, IStroke as IStroke$1, IFill as IFill$1, IBoxInputData as IBoxInputData$1, IRectInputData as IRectInputData$1, ICursorType, IImageCursor, IAlign as IAlign$1, IUnitPointData, IUIInputData as IUIInputData$1, IBox as IBox$1, IRect as IRect$1, IBoundsData, IKeyEvent } from '@leafer-ui/interface'; | ||
| import { IGroup as IGroup$1, ISelectorProxy, IUI as IUI$1, ILeafList, IObject, ILeaf, IEditSize, IDragEvent, IRotateEvent, IGroupInputData as IGroupInputData$1, IStroke as IStroke$1, IFill as IFill$1, IBoxInputData as IBoxInputData$1, IRectInputData as IRectInputData$1, ICursorType, IImageCursor, IAlign as IAlign$1, IUnitPointData as IUnitPointData$1, IUIInputData as IUIInputData$1, IBox as IBox$1, IRect as IRect$1, IBoundsData, IKeyEvent } from '@leafer-ui/interface'; | ||
@@ -44,6 +44,6 @@ type IPercent = string; | ||
| type: IGradientType; | ||
| from?: IPointData; | ||
| to?: IPointData; | ||
| from?: IAlign | IUnitPointData; | ||
| to?: IAlign | IUnitPointData; | ||
| stretch?: number; | ||
| stops: IColorStop[]; | ||
| stops: IColorStop[] | IColorString[]; | ||
| } | ||
@@ -372,3 +372,3 @@ interface IColorStop { | ||
| skewCursor?: IImageCursor; | ||
| around?: IAlign$1 | IUnitPointData; | ||
| around?: IAlign$1 | IUnitPointData$1; | ||
| lockRatio?: boolean | 'corner'; | ||
@@ -674,2 +674,3 @@ rotateGap?: number; | ||
| children?: IUI[]; | ||
| readonly pen: IPathCreator; | ||
| reset(data?: IUIInputData): void; | ||
@@ -686,2 +687,3 @@ set(data: IUIInputData): void; | ||
| getPathString(curve?: boolean, pathForRender?: boolean): IPathString; | ||
| load(): void; | ||
| __drawPathByData(drawer: IPathDrawer, data: IPathCommandData): void; | ||
@@ -715,6 +717,2 @@ __drawPathByBox(drawer: IPathDrawer): void; | ||
| __blendLayer?: boolean; | ||
| readonly __autoWidth: boolean; | ||
| readonly __autoHeight: boolean; | ||
| readonly __autoSide: boolean; | ||
| readonly __autoSize: boolean; | ||
| __boxStroke?: boolean; | ||
@@ -721,0 +719,0 @@ __font?: string; |
63784
-0.05%1798
-0.22%+ Added
- Removed