zimjs 19.0.0 → 19.0.1
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/package.json +1 -1
- package/src/zim.js +1 -1
- package/ts-src/typings/zim/index.d.ts +10 -0
package/package.json
CHANGED
package/src/zim.js
CHANGED
|
@@ -102158,7 +102158,7 @@ for (z_i = 0; z_i < globalFunctions.length; z_i++) {
|
|
|
102158
102158
|
}
|
|
102159
102159
|
|
|
102160
102160
|
|
|
102161
|
-
// these are global
|
|
102161
|
+
// these are global regardlesss
|
|
102162
102162
|
var globalsConstants = [
|
|
102163
102163
|
["FIT", zim.FIT],
|
|
102164
102164
|
["FILL", zim.FILL],
|
|
@@ -2098,6 +2098,16 @@ declare namespace zim {
|
|
|
2098
2098
|
borderDashedCommand: any
|
|
2099
2099
|
}
|
|
2100
2100
|
|
|
2101
|
+
export class BorderShape extends Shape {
|
|
2102
|
+
constructor(config_or_width?: number, height?: number, borderColor?: color, borderWidth?: number, corner?: number, style?: boolean, group?: string, inherit?: {})
|
|
2103
|
+
constructor(config: { width?: number, height?: number, borderColor?: color, borderWidth?: number, corner?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2104
|
+
borderColor: color
|
|
2105
|
+
borderWidth: number
|
|
2106
|
+
corner: number
|
|
2107
|
+
widthNoScale: number
|
|
2108
|
+
heightNoScale: number
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2101
2111
|
export class Label extends Container implements zimComponent {
|
|
2102
2112
|
constructor(config_or_text?: string | zimVee, size?: number, font?: string, color?: color, rollColor?: color, shadowColor?: color, shadowBlur?: number, align?: string, valign?: string, lineWidth?: number, lineHeight?: number, bold?: boolean, italic?: boolean, variant?: boolean, backing?: DisplayObject, outlineColor?: color, outlineWidth?: number, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backgroundDashed?: boolean, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, rollPersist?: boolean, labelWidth?: number, labelHeight?: number, maxSize?: number, style?: boolean, group?: string, inherit?: {})
|
|
2103
2113
|
constructor(config: { text?: string | zimVee, size?: number, font?: string, color?: color, rollColor?: color, shadowColor?: color, shadowBlur?: number, align?: string, valign?: string, lineWidth?: number, lineHeight?: number, bold?: boolean, italic?: boolean, variant?: boolean, backing?: DisplayObject, outlineColor?: color, outlineWidth?: number, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backgroundDashed?: boolean, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, rollPersist?: boolean, labelWidth?: number, labelHeight?: number, maxSize?: number, style?: boolean, group?: string, inherit?: {} })
|