@leafer-ui/interface
Advanced tools
+2
-2
| { | ||
| "name": "@leafer-ui/interface", | ||
| "version": "1.12.4", | ||
| "version": "2.0.0", | ||
| "description": "@leafer-ui/interface", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/interface": "1.12.4" | ||
| "@leafer/interface": "2.0.0" | ||
| } | ||
| } |
@@ -1,2 +0,2 @@ | ||
| import { IBlendMode, IDirection, ILeaferImage, IMatrixData, IPointData, IScaleFixed, ITaskItem } from '@leafer/interface' | ||
| import { IBlendMode, IDirection, IInterlace, ILeaferImage, IMatrixData, IPointData, IScaleFixed, ITaskItem } from '@leafer/interface' | ||
@@ -39,2 +39,3 @@ import { IColorString } from './IStringType' | ||
| repeat?: 'repeat' | 'repeat-x' | 'repeat-y' | ||
| interlace?: IInterlace | ||
| } | ||
@@ -41,0 +42,0 @@ |
@@ -1,2 +0,2 @@ | ||
| import { IPointData, IPathCommandData, IWindingRule, IBlendMode, IExportFileType, IFourNumber, IAlign, IUnitPointData, IAxis, IAxisReverse, IFilter, IOptionSizeData, ISizeData, IGap, IPointGap, IScaleFixed, IDirection, IImageLOD } from '@leafer/interface' | ||
| 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 { IColorString, IPaintString } from './IStringType' | ||
@@ -99,3 +99,3 @@ import { IStrokeStyle } from '../ICommonAttr' | ||
| gap?: IGap | IPointGap | ||
| interlace?: number | IInterlace // 平铺图案交错排列 | ||
| interlace?: number | IPercentData | IInterlace // 平铺图案交错排列 | ||
@@ -119,6 +119,2 @@ changeful?: boolean // 会频繁变化,不生成图案(有特殊性能优化,一般用于游戏精灵、动图场景) | ||
| export type IRepeat = boolean | 'x' | 'y' | IPointData | ||
| export interface IInterlace { | ||
| type: IAxis | ||
| offset: number | ||
| } | ||
@@ -125,0 +121,0 @@ // 描边 |
+3
-6
@@ -1,2 +0,2 @@ | ||
| import { IBlendMode, IScaleFixed, IAlign, IUnitPointData, IImageLOD, IExportFileType, IFourNumber, IPointData, IOptionSizeData, ISizeData, IGap, IPointGap, IAxis, IPathCommandData, IAxisReverse, IDirection, IWindingRule, IFilter, IMatrixData, ILeaferImage, ITaskItem, INumber, IString, IBoolean, IUnitData, IAnimateOptions, IAnimateEasing, IEventer, IObject, IEventParamsMap, IAnimateEasingFunction, IAnimateEnding, ITransition, IPercentData, 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 { 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'; | ||
| export * from '@leafer/interface'; | ||
@@ -79,3 +79,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'; | ||
| gap?: IGap | IPointGap; | ||
| interlace?: number | IInterlace; | ||
| interlace?: number | IPercentData | IInterlace; | ||
| changeful?: boolean; | ||
@@ -98,6 +98,2 @@ sync?: boolean; | ||
| type IRepeat = boolean | 'x' | 'y' | IPointData; | ||
| interface IInterlace { | ||
| type: IAxis; | ||
| offset: number; | ||
| } | ||
| type IStrokeAlign = 'inside' | 'outside' | 'center'; | ||
@@ -199,2 +195,3 @@ type IStrokeCap = 'none' | 'round' | 'square'; | ||
| repeat?: 'repeat' | 'repeat-x' | 'repeat-y'; | ||
| interlace?: IInterlace; | ||
| } | ||
@@ -201,0 +198,0 @@ type ILeafFill = ILeafPaint; |
109394
02742
-0.18%+ Added
- Removed
Updated