@leafer/interface
Advanced tools
+1
-1
| { | ||
| "name": "@leafer/interface", | ||
| "version": "1.5.1", | ||
| "version": "1.5.2", | ||
| "description": "@leafer/interface", | ||
@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan", |
@@ -5,3 +5,3 @@ import { IBlob, ILeaferCanvas } from '../canvas/ILeaferCanvas' | ||
| import { ILocationType } from '../layout/ILeafLayout' | ||
| import { IBoundsData, IPointData, ISizeData } from '../math/IMath' | ||
| import { IBoundsData, IOptionSizeData, IPointData } from '../math/IMath' | ||
| import { IFourNumber } from '../data/IData' | ||
@@ -13,3 +13,3 @@ | ||
| scale?: number | IPointData | ||
| size?: number | ISizeData | ||
| size?: number | IOptionSizeData | ||
| padding?: IFourNumber | ||
@@ -16,0 +16,0 @@ smooth?: boolean |
+1
-1
@@ -57,5 +57,5 @@ export { IAppBase } from './app/IApp' | ||
| export { ILeafList, ILeafArrayMap, ILeafMap, ILeafLevelList, ILeafListItemCallback } from './data/IList' | ||
| 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' | ||
| 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, IMatrixWithBoundsScaleData, IMatrixWithLayoutData, IScaleRotationData, IScaleData, ISkewData, ILayoutBoundsData, ILayoutData, ILayoutAttr } from './math/IMath' | ||
| export { IFunction, IStringFunction, INumberFunction, IObjectFunction, IValueFunction, IPointDataFunction, IAttrDecorator } from './function/IFunction' | ||
| export { ITransition, IAnimateEasing, ICubicBezierEasing, IStepsEasing, IAnimateEasingFunction, IAnimateEasingName, IAnimateEnding, IAnimateEvents, IAnimateEventFunction, ICustomEasingFunction, IAnimateOptions } from './animate/ITransition' |
@@ -66,2 +66,8 @@ import { IFourNumber, IObject } from '../data/IData' | ||
| } | ||
| export interface IOptionSizeData { | ||
| width?: number | ||
| height?: number | ||
| } | ||
| export interface ISize extends ISizeData { | ||
@@ -68,0 +74,0 @@ |
Sorry, the diff of this file is too big to display
189350
0.11%4879
0.18%