@leafer/interface
Advanced tools
+1
-1
| { | ||
| "name": "@leafer/interface", | ||
| "version": "2.0.8", | ||
| "version": "2.0.9", | ||
| "description": "@leafer/interface", | ||
@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan", |
@@ -309,3 +309,3 @@ import { ILeaferBase } from '../app/ILeafer' | ||
| motionPath?: IBoolean | ||
| motionPath?: IBoolean | 'text-path' | ||
| motionPrecision?: INumber | ||
@@ -417,3 +417,3 @@ | ||
| motionPath?: boolean | ||
| motionPath?: boolean | 'text-path' | ||
| motionPrecision?: number | ||
@@ -420,0 +420,0 @@ |
+1
-1
@@ -41,3 +41,3 @@ export { IAppBase } from './app/IApp' | ||
| export { IWindingRule, ICanvasContext2D, ICanvasContext2DSettings, ITextMetrics, IPath2D, ICanvasPattern } from './canvas/ICanvas' | ||
| export { CanvasPathCommand, IPathCommandData, IPathCommandDataWithRadius, MCommandData, HCommandData, VCommandData, LCommandData, CCommandData, SCommandData, QCommandData, TCommandData, ZCommandData, ACommandData, RectCommandData, RoundRectCommandData, EllipseCommandData, ArcCommandData, ArcToCommandData, MoveToCommandObject, LineToCommandObject, BezierCurveToCommandObject, QuadraticCurveToCommandObject, IPathCommandObject, IPathCommandNodeBase, MoveToCommandNode, LineToCommandNode, BezierCurveToCommandNode, ClosePathCommandNode, IPathCommandNode, PathNodeHandleType, PathNodeHandleName, IPathNodeBase } from './path/IPathCommand' | ||
| export { CanvasPathCommand, IPathCommandData, IPathCommandDataWithRadius, IPathCommandDataWithWindingRule, MCommandData, HCommandData, VCommandData, LCommandData, CCommandData, SCommandData, QCommandData, TCommandData, ZCommandData, ACommandData, RectCommandData, RoundRectCommandData, EllipseCommandData, ArcCommandData, ArcToCommandData, MoveToCommandObject, LineToCommandObject, BezierCurveToCommandObject, QuadraticCurveToCommandObject, IPathCommandObject, IPathCommandNodeBase, MoveToCommandNode, LineToCommandNode, BezierCurveToCommandNode, ClosePathCommandNode, IPathCommandNode, PathNodeHandleType, PathNodeHandleName, IPathNodeBase } from './path/IPathCommand' | ||
@@ -44,0 +44,0 @@ export { ILeaferImage, ILeaferImageMap, ILeaferImageConfig, IImageLOD, IImageTileLOD, ILeaferImageSliceData, ILeaferImageSlice, ILeaferImageLevel, ILeaferImageOnLoaded, ILeaferImageOnError, ILeaferImageCacheCanvas, ILeaferImagePatternPaint } from './image/ILeaferImage' |
| import { IPointData } from '../math/IMath' | ||
| import { IWindingRule } from '../canvas/ICanvas' | ||
@@ -59,2 +60,7 @@ type Command = number | ||
| export interface IPathCommandDataWithWindingRule { | ||
| data: IPathCommandData | ||
| windingRule?: IWindingRule | ||
| } | ||
| // 路径命令对象 | ||
@@ -61,0 +67,0 @@ export interface MoveToCommandObject { |
@@ -22,2 +22,3 @@ import { IFunction, IStringFunction } from '../function/IFunction' | ||
| requestRender?(render: IFunction): void | ||
| getCanvas?(): ILeaferCanvas | ||
| canvas?: ILeaferCanvas | ||
@@ -24,0 +25,0 @@ renderCanvas?: ILeaferCanvas |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
230575
0.2%5918
0.19%