zimjs 20.0.2 → 20.0.4
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 +2893 -890
- package/ts-src/typings/zim/index.d.ts +71 -12
|
@@ -200,6 +200,11 @@ declare namespace zim {
|
|
|
200
200
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
201
201
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
202
202
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
203
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
204
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
205
|
+
noTilt(): this
|
|
206
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
207
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
203
208
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
204
209
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
205
210
|
removePhysics(): this
|
|
@@ -790,6 +795,11 @@ declare namespace zim {
|
|
|
790
795
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
791
796
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
792
797
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
798
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
799
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
800
|
+
noTilt(): this
|
|
801
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
802
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
793
803
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
794
804
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
795
805
|
removePhysics(): this
|
|
@@ -960,6 +970,11 @@ declare namespace zim {
|
|
|
960
970
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
961
971
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
962
972
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
973
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
974
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
975
|
+
noTilt(): this
|
|
976
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
977
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
963
978
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
964
979
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
965
980
|
removePhysics(): this
|
|
@@ -1138,6 +1153,11 @@ declare namespace zim {
|
|
|
1138
1153
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
1139
1154
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
1140
1155
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
1156
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
1157
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
1158
|
+
noTilt(): this
|
|
1159
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
1160
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
1141
1161
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
1142
1162
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
1143
1163
|
removePhysics(): this
|
|
@@ -1332,6 +1352,11 @@ declare namespace zim {
|
|
|
1332
1352
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
1333
1353
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
1334
1354
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
1355
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
1356
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
1357
|
+
noTilt(): this
|
|
1358
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
1359
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
1335
1360
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
1336
1361
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
1337
1362
|
removePhysics(): this
|
|
@@ -1558,6 +1583,11 @@ declare namespace zim {
|
|
|
1558
1583
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
1559
1584
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
1560
1585
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
1586
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
1587
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
1588
|
+
noTilt(): this
|
|
1589
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
1590
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
1561
1591
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
1562
1592
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
1563
1593
|
removePhysics(): this
|
|
@@ -1724,6 +1754,11 @@ declare namespace zim {
|
|
|
1724
1754
|
noGesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean): this
|
|
1725
1755
|
noGesture(config: { move?: boolean, scale?: boolean, rotate?: boolean }): this
|
|
1726
1756
|
gestureBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, update?: boolean): this
|
|
1757
|
+
tilt(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function): this
|
|
1758
|
+
tilt(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], damp?: number | boolean, factor?: number | { x?: number, y?: number }, mode?: string, type?: string, call?: Function }): this
|
|
1759
|
+
noTilt(): this
|
|
1760
|
+
tiltBoundary(boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number): this
|
|
1761
|
+
tiltBoundary(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | boolean | number[], y?: number, width?: number, height?: number }): this
|
|
1727
1762
|
addPhysics(config_or_dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean): this
|
|
1728
1763
|
addPhysics(config: { dynamic?: boolean, contract?: number, shape?: string, friction?: number, linear?: number, angular?: number, density?: number, bounciness?: number, maskBits?: number, categoryBits?: number, physics?: Physics, restitution?: number, sensor?: boolean }): this
|
|
1729
1764
|
removePhysics(): this
|
|
@@ -2227,8 +2262,8 @@ declare namespace zim {
|
|
|
2227
2262
|
readonly numWords: number
|
|
2228
2263
|
}
|
|
2229
2264
|
export class Emoji extends Container implements zimComponent {
|
|
2230
|
-
constructor(config_or_code: string, size?: number, monochrome?: boolean, italic?: boolean, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, color?: color, borderColor?: color, style?: boolean, group?: string, inherit?: {})
|
|
2231
|
-
constructor(config: { code: string, size?: number, monochrome?: boolean, italic?: boolean, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, color?: color, borderColor?: color, style?: boolean, group?: string, inherit?: {} })
|
|
2265
|
+
constructor(config_or_code: string, size?: number, monochrome?: boolean, italic?: boolean, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, color?: color, borderColor?: color, order?: number[], style?: boolean, group?: string, inherit?: {})
|
|
2266
|
+
constructor(config: { code: string, size?: number, monochrome?: boolean, italic?: boolean, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, color?: color, borderColor?: color, order?: number[], style?: boolean, group?: string, inherit?: {} })
|
|
2232
2267
|
// ZIM Component Interface
|
|
2233
2268
|
// dispose():boolean // now added to Container, etc.
|
|
2234
2269
|
enabled: boolean
|
|
@@ -3448,8 +3483,8 @@ declare namespace zim {
|
|
|
3448
3483
|
readonly group: string
|
|
3449
3484
|
}
|
|
3450
3485
|
export class Bullets extends Tile {
|
|
3451
|
-
constructor(config_or_list?: string|number[], bulletType?: string, size?: number, color?: color, cols?: number, font?: string, italic?: boolean, bold?: boolean, variant?: boolean, shiftH?: number, shiftV?: number, spacing?: number, spacingH?: number, spacingV?: number, colSpacing?: number, bulletAlign?: string, group?: string, style?: boolean, inherit?: {})
|
|
3452
|
-
constructor(config: { list?: string|number[], bulletType?: string, size?: number, color?: color, cols?: number, font?: string, italic?: boolean, bold?: boolean, variant?: boolean, shiftH?: number, shiftV?: number, spacing?: number, spacingH?: number, spacingV?: number, colSpacing?: number, bulletAlign?: string, group?: string, style?: boolean, inherit?: {} })
|
|
3486
|
+
constructor(config_or_list?: string|number[], bulletType?: string, size?: number, color?: color, cols?: number, font?: string, italic?: boolean, bold?: boolean, variant?: boolean, shiftH?: number, shiftV?: number, spacing?: number, spacingH?: number, spacingV?: number, colSpacing?: number, bulletAlign?: string, rtl?: boolean, group?: string, style?: boolean, inherit?: {})
|
|
3487
|
+
constructor(config: { list?: string|number[], bulletType?: string, size?: number, color?: color, cols?: number, font?: string, italic?: boolean, bold?: boolean, variant?: boolean, shiftH?: number, shiftV?: number, spacing?: number, spacingH?: number, spacingV?: number, colSpacing?: number, bulletAlign?: string, rtl?: boolean, group?: string, style?: boolean, inherit?: {} })
|
|
3453
3488
|
readonly type: string
|
|
3454
3489
|
readonly list: string|number[]
|
|
3455
3490
|
readonly bulletType: string
|
|
@@ -3523,8 +3558,8 @@ declare namespace zim {
|
|
|
3523
3558
|
blurFactor: number
|
|
3524
3559
|
}
|
|
3525
3560
|
export class Perspective extends Container {
|
|
3526
|
-
constructor(config_or_obj?: DisplayObject|zimVee, points?: {x:number,y:number}[]|Point, interactive?: boolean, showControls?: boolean, allowToggle?: boolean, move?: boolean, borderColor?: color|zimVee, borderWidth?: number|zimVee, dashed?: number|number[]|zimVee, plane?: boolean, fade?: boolean, dynamic?: boolean, frame?: Frame, style?: boolean, group?: string, inherit?: {})
|
|
3527
|
-
constructor(config: { obj?: DisplayObject|zimVee, points?: {x:number,y:number}[]|Point, interactive?: boolean, showControls?: boolean, allowToggle?: boolean, move?: boolean, borderColor?: color|zimVee, borderWidth?: number|zimVee, dashed?: number|number[]|zimVee, plane?: boolean, fade?: boolean, dynamic?: boolean, frame?: Frame, style?: boolean, group?: string, inherit?: {} })
|
|
3561
|
+
constructor(config_or_obj?: DisplayObject|zimVee, points?: {x:number,y:number}[]|Point, interactive?: boolean, showControls?: boolean, allowToggle?: boolean, move?: boolean, borderColor?: color|zimVee, borderWidth?: number|zimVee, dashed?: number|number[]|zimVee, plane?: boolean, fade?: boolean, dynamic?: boolean, frame?: Frame, resolution?:number, maskShape?:string|DisplayObject, feather?:number, onTop?:boolean, overlay?:boolean, clipping?:boolean, passthrough?:boolean, passthroughScale?:number, passthroughShiftX?:number, passthroughShiftY?:number, style?: boolean, group?: string, inherit?: {})
|
|
3562
|
+
constructor(config: { obj?: DisplayObject|zimVee, points?: {x:number,y:number}[]|Point, interactive?: boolean, showControls?: boolean, allowToggle?: boolean, move?: boolean, borderColor?: color|zimVee, borderWidth?: number|zimVee, dashed?: number|number[]|zimVee, plane?: boolean, fade?: boolean, dynamic?: boolean, frame?: Frame, resolution?:number, maskShape?:string|DisplayObject, feather?:number, onTop?:boolean, overlay?:boolean, clipping?:boolean, passthrough?:boolean, passthroughScale?:number, passthroughShiftX?:number, passthroughShiftY?:number, style?: boolean, group?: string, inherit?: {} })
|
|
3528
3563
|
selectCorner(index?: number, state?: boolean): Circle
|
|
3529
3564
|
selectSide(index?: number, state?: boolean): Circle
|
|
3530
3565
|
updateCorner(controlObj?: Circle, refresh?: boolean): Circle
|
|
@@ -3533,6 +3568,16 @@ declare namespace zim {
|
|
|
3533
3568
|
toggle(state?: boolean): this
|
|
3534
3569
|
deselectPoints(): this
|
|
3535
3570
|
obj:DisplayObject
|
|
3571
|
+
onTop: boolean
|
|
3572
|
+
overlay: boolean
|
|
3573
|
+
clipping: boolean
|
|
3574
|
+
maskShape: string|DisplayObject
|
|
3575
|
+
feather: boolean
|
|
3576
|
+
readonly resolution: number
|
|
3577
|
+
passthrough: boolean
|
|
3578
|
+
passthroughScale: number
|
|
3579
|
+
passthroughShiftX: number
|
|
3580
|
+
passthroughShiftY: number
|
|
3536
3581
|
readonly blob:Blob
|
|
3537
3582
|
readonly sides:Container
|
|
3538
3583
|
readonly shader:Shader
|
|
@@ -4071,8 +4116,8 @@ declare namespace zim {
|
|
|
4071
4116
|
readonly bitmap: Bitmap
|
|
4072
4117
|
}
|
|
4073
4118
|
export class SVG extends Container {
|
|
4074
|
-
constructor(config_or_svg?: string, width?: number, height?: number, bitmap?: boolean, splitTypes?: boolean, geometric?: boolean, showControls?: boolean, interactive?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
4075
|
-
constructor(config: { svg?: string, width?: number, height?: number, bitmap?: boolean, splitTypes?: boolean, geometric?: boolean, showControls?: boolean, interactive?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
4119
|
+
constructor(config_or_svg?: string, width?: number, height?: number, bitmap?: boolean, splitTypes?: boolean, geometric?: boolean, showControls?: boolean, interactive?: boolean, color?: color, borderColor?: color, order?: number[], style?: boolean, group?: string, inherit?: {})
|
|
4120
|
+
constructor(config: { svg?: string, width?: number, height?: number, bitmap?: boolean, splitTypes?: boolean, geometric?: boolean, showControls?: boolean, interactive?: boolean, color?: color, borderColor?: color, order?: number[], style?: boolean, group?: string, inherit?: {} })
|
|
4076
4121
|
readonly sensorType: string
|
|
4077
4122
|
readonly label: Label
|
|
4078
4123
|
readonly yes: Button
|
|
@@ -4095,6 +4140,20 @@ declare namespace zim {
|
|
|
4095
4140
|
readonly voiceLanguages: string[]
|
|
4096
4141
|
readonly recognition: any
|
|
4097
4142
|
}
|
|
4143
|
+
export class Hardware extends createjs.EventDispatcher {
|
|
4144
|
+
constructor(callback?:Function, baudRate?:number, delimiter?:string)
|
|
4145
|
+
connect(): void
|
|
4146
|
+
write(data: string|number): void
|
|
4147
|
+
disconnect(): void
|
|
4148
|
+
readonly port: number
|
|
4149
|
+
readonly reader: ReadableStreamDefaultReader<Uint8Array>
|
|
4150
|
+
readonly writer: WritableStreamDefaultWriter<string>
|
|
4151
|
+
readonly textEncoder: TextEncoderStream
|
|
4152
|
+
readonly textDecoder: TextDecoderStream
|
|
4153
|
+
isListening: boolean
|
|
4154
|
+
readonly baudRate: number
|
|
4155
|
+
delimiter: string|number
|
|
4156
|
+
}
|
|
4098
4157
|
export class SensorAsk extends Pane {
|
|
4099
4158
|
constructor(config_or_callback?: Function, sensorType?: string, color?: color, backgroundColor?: color, style?: boolean, group?: string, inherit?: {})
|
|
4100
4159
|
constructor(config: { callback?: Function, sensorType?: string, color?: color, backgroundColor?: color, style?: boolean, group?: string, inherit?: {} })
|
|
@@ -4113,8 +4172,8 @@ declare namespace zim {
|
|
|
4113
4172
|
}
|
|
4114
4173
|
|
|
4115
4174
|
export class Shader extends Bitmap implements zimComponent {
|
|
4116
|
-
constructor(config_or_width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, channel0?: DisplayObject, channel1?: DisplayObject, channel2?: DisplayObject, channel3?: DisplayObject, dynamic0?: boolean, dynamic1?: boolean, dynamic2?: boolean, dynamic3?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
4117
|
-
constructor(config: { width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
4175
|
+
constructor(config_or_width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, channel0?: DisplayObject, channel1?: DisplayObject, channel2?: DisplayObject, channel3?: DisplayObject, dynamic0?: boolean, dynamic1?: boolean, dynamic2?: boolean, dynamic3?: boolean, channels?:DisplayObject[], dynamics?:boolean[], style?: boolean, group?: string, inherit?: {})
|
|
4176
|
+
constructor(config: { width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, channel0?: DisplayObject, channel1?: DisplayObject, channel2?: DisplayObject, channel3?: DisplayObject, dynamic0?: boolean, dynamic1?: boolean, dynamic2?: boolean, dynamic3?: boolean, channels?:DisplayObject[], dynamics?:boolean[], style?: boolean, group?: string, inherit?: {} })
|
|
4118
4177
|
// ZIM Component Interface
|
|
4119
4178
|
// dispose():boolean // now added to Container, etc.
|
|
4120
4179
|
enabled: boolean
|
|
@@ -4132,8 +4191,8 @@ declare namespace zim {
|
|
|
4132
4191
|
}
|
|
4133
4192
|
|
|
4134
4193
|
export class ShaderOverlay extends Tag implements zimComponent {
|
|
4135
|
-
constructor(config_or_width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
4136
|
-
constructor(config: { width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
4194
|
+
constructor(config_or_width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, channel0?: DisplayObject, channel1?: DisplayObject, channel2?: DisplayObject, channel3?: DisplayObject, dynamic0?: boolean, dynamic1?: boolean, dynamic2?: boolean, dynamic3?: boolean, channels?:DisplayObject[], dynamics?:boolean[], style?: boolean, group?: string, inherit?: {})
|
|
4195
|
+
constructor(config: { width?: number, height?: number, fragment?: string, uniforms?: Uniforms, vertex?: string, dynamic?: boolean, preCall?: Function, postCall?: Function, rate?: number | zimVee, version?: string, canvas?: HTMLCanvasElement, vertexPosition?: string, strip?: boolean, log?: boolean, channel0?: DisplayObject, channel1?: DisplayObject, channel2?: DisplayObject, channel3?: DisplayObject, dynamic0?: boolean, dynamic1?: boolean, dynamic2?: boolean, dynamic3?: boolean, channels?:DisplayObject[], dynamics?:boolean[], style?: boolean, group?: string, inherit?: {} })
|
|
4137
4196
|
// ZIM Component Interface
|
|
4138
4197
|
// dispose():boolean // now added to Container, etc.
|
|
4139
4198
|
enabled: boolean
|