@leafer/interface
Advanced tools
+1
-1
| { | ||
| "name": "@leafer/interface", | ||
| "version": "1.12.3", | ||
| "version": "1.12.4", | ||
| "description": "@leafer/interface", | ||
@@ -5,0 +5,0 @@ "author": "Chao (Leafer) Wan", |
@@ -11,8 +11,14 @@ import { IBlob, ILeaferCanvas } from '../canvas/ILeaferCanvas' | ||
| blob?: boolean | ||
| scale?: number | IPointData | ||
| size?: number | IOptionSizeData | ||
| clip?: IBoundsData | ||
| rotation?: number | ||
| skew?: IPointData | ||
| padding?: IFourNumber | ||
| smooth?: boolean | ||
| pixelRatio?: number | ||
| clip?: IBoundsData | ||
| slice?: boolean | ||
@@ -19,0 +25,0 @@ trim?: boolean |
@@ -11,2 +11,3 @@ import { ICanvasPattern } from '../canvas/ICanvas' | ||
| import { IRangeSize } from '../display/ILeaf' | ||
| import { IFunction } from '../function/IFunction' | ||
@@ -71,3 +72,5 @@ export interface ILeaferImageConfig { | ||
| view?: any | ||
| url?: string | ||
| task?: ITaskItem | ||
| wait?: IFunction[] | ||
| slice?: ILeaferImageSliceData | ||
@@ -80,2 +83,3 @@ use?: number // 引用次数 | ||
| readonly url: string | ||
| lod?: IImageLOD | ||
| readonly crossOrigin: IImageCrossOrigin | ||
@@ -117,6 +121,6 @@ | ||
| setThumbView(view: number): void | ||
| getThumbSize(): ISizeData | ||
| getThumbSize(lod?: IImageLOD): ISizeData | ||
| getMinLevel(): number | ||
| getLevelData(_level: number): ILeaferImageLevel | ||
| getLevelData(level: number, width?: number, height?: number): ILeaferImageLevel | ||
| clearLevels(checkUse?: boolean): void | ||
@@ -123,0 +127,0 @@ |
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
218539
0.15%5605
0.16%