@mastergo/plugin-typings 2.18.0-beta.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1503,7 +1503,7 @@ declare global {
|
|
|
1503
1503
|
loadFontAsync(fontName: FontName): Promise<boolean>
|
|
1504
1504
|
createImage(imageData: Uint8Array, isSync?: boolean): Promise<Image>
|
|
1505
1505
|
getImageByHref(href: string): Image
|
|
1506
|
-
|
|
1506
|
+
|
|
1507
1507
|
/**
|
|
1508
1508
|
* 导出多个图层组成的png图片, 可过滤图层id,设置导出图片的缩放倍率
|
|
1509
1509
|
*/
|
|
@@ -1539,7 +1539,7 @@ declare global {
|
|
|
1539
1539
|
) => void
|
|
1540
1540
|
}
|
|
1541
1541
|
|
|
1542
|
-
interface GlobalExportPngSetting {
|
|
1542
|
+
interface GlobalExportPngSetting {
|
|
1543
1543
|
ids?: string[];
|
|
1544
1544
|
filterIds?: string[];
|
|
1545
1545
|
scale?: number;
|
|
@@ -2059,6 +2059,7 @@ declare global {
|
|
|
2059
2059
|
readonly alpha?: number
|
|
2060
2060
|
readonly blendMode?: BlendMode
|
|
2061
2061
|
readonly name?: string
|
|
2062
|
+
readonly colorStyleId: string
|
|
2062
2063
|
}
|
|
2063
2064
|
|
|
2064
2065
|
interface GradientPaint {
|
|
@@ -2077,6 +2078,7 @@ declare global {
|
|
|
2077
2078
|
readonly alpha?: number
|
|
2078
2079
|
readonly blendMode?: BlendMode
|
|
2079
2080
|
readonly name?: string
|
|
2081
|
+
readonly colorStyleId: string
|
|
2080
2082
|
}
|
|
2081
2083
|
|
|
2082
2084
|
interface ImageFilters {
|
|
@@ -2102,6 +2104,7 @@ declare global {
|
|
|
2102
2104
|
readonly name?: string
|
|
2103
2105
|
readonly ratio?: number
|
|
2104
2106
|
readonly rotation?: number
|
|
2107
|
+
readonly colorStyleId: string
|
|
2105
2108
|
}
|
|
2106
2109
|
|
|
2107
2110
|
type Paint = SolidPaint | GradientPaint | ImagePaint
|