zimjs 19.1.6 → 20.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/README.md +1 -0
- package/package.json +4 -2
- package/src/zim.js +2156 -443
- package/ts-src/typings/zim/index.d.ts +374 -341
|
@@ -116,7 +116,7 @@ declare global {
|
|
|
116
116
|
function zum(string: string): number
|
|
117
117
|
function zot(value: any): boolean
|
|
118
118
|
function zop(e: any): void
|
|
119
|
-
function zil(): [
|
|
119
|
+
function zil(): Function[]
|
|
120
120
|
function zet(selector: string): {}
|
|
121
121
|
function zob(func: Function, args: any, sig: string, scope: Function): boolean
|
|
122
122
|
function zik(arg: any): any
|
|
@@ -139,9 +139,9 @@ declare namespace zim {
|
|
|
139
139
|
// The basic parameter type should be used first then | zimVee to get the zik options
|
|
140
140
|
// Example: interval(time:number|zimVee, function:Function, etc.)
|
|
141
141
|
type zimVee = {} | Function | any[]
|
|
142
|
-
// So, any time we see {}|Function|[
|
|
142
|
+
// So, any time we see {}|Function|any[] in the code hints (probably after a number, boolean or string) it means ZIM VEE
|
|
143
143
|
// Below is the full type but it complicates the code tips too much:
|
|
144
|
-
// type zimVee = {min?:number, max?:number, integer?:boolean, negative?:boolean, noZick?:[
|
|
144
|
+
// type zimVee = {min?:number, max?:number, integer?:boolean, negative?:boolean, noZick?:any[]|Function}|Function|any[]
|
|
145
145
|
|
|
146
146
|
type color = string | GradientColor | RadialColor | BitmapColor
|
|
147
147
|
|
|
@@ -169,8 +169,8 @@ declare namespace zim {
|
|
|
169
169
|
noTap(): this
|
|
170
170
|
hold(call: Function, distance?: number, time?: number, once?: boolean): this
|
|
171
171
|
noHold(): this
|
|
172
|
-
drag(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | DisplayObject, axis?: string, overCursor?: string, dragCursor?: string, all?: boolean, swipe?: boolean, localBoundary?: boolean, onTop?: boolean, surround?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, reg?: boolean, removeTweens?: boolean, startBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, currentTarget?: boolean, offStage?: boolean, immediateBoundary?: boolean, singleTouch?: boolean, dropTargets?: DisplayObject | [
|
|
173
|
-
drag(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | DisplayObject, axis?: string, overCursor?: string, dragCursor?: string, all?: boolean, swipe?: boolean, localBoundary?: boolean, onTop?: boolean, surround?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, reg?: boolean, removeTweens?: boolean, startBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, currentTarget?: boolean, offStage?: boolean, immediateBoundary?: boolean, singleTouch?: boolean, dropTargets?: DisplayObject | [
|
|
172
|
+
drag(config_or_boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | DisplayObject, axis?: string, overCursor?: string, dragCursor?: string, all?: boolean, swipe?: boolean, localBoundary?: boolean, onTop?: boolean, surround?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, reg?: boolean, removeTweens?: boolean, startBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, currentTarget?: boolean, offStage?: boolean, immediateBoundary?: boolean, singleTouch?: boolean, dropTargets?: DisplayObject | DisplayObject[], dropCopy?: boolean, dropSnap?: boolean, dropBack?: boolean, dropEnd?: boolean, dropFull?: boolean, dropHitTest?: string, dropScale?: number, dropWidth?: number, dropHeight?: number): this
|
|
173
|
+
drag(config: { boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } | DisplayObject, axis?: string, overCursor?: string, dragCursor?: string, all?: boolean, swipe?: boolean, localBoundary?: boolean, onTop?: boolean, surround?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, reg?: boolean, removeTweens?: boolean, startBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, currentTarget?: boolean, offStage?: boolean, immediateBoundary?: boolean, singleTouch?: boolean, dropTargets?: DisplayObject | DisplayObject[], dropCopy?: boolean, dropSnap?: boolean, dropBack?: boolean, dropEnd?: boolean, dropFull?: boolean, dropHitTest?: string, dropScale?: number, dropWidth?: number, dropHeight?: number}): this
|
|
174
174
|
noDrag(): this
|
|
175
175
|
change(call: Function): this
|
|
176
176
|
dragBoundary(boundary: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
@@ -188,15 +188,15 @@ declare namespace zim {
|
|
|
188
188
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string, mID?: string }): this
|
|
189
189
|
noWired(config_or_source: DisplayObject, prop?: string, input?: string, mID?: string): this
|
|
190
190
|
noWired(config: { source: DisplayObject, prop?: string, input?: string, mID?: string }): this
|
|
191
|
-
bind(config_or_id: string, props?: [
|
|
192
|
-
bind(config: { id: string, props?: [
|
|
193
|
-
noBind(config_or_props?: [
|
|
194
|
-
noBind(config: { props?: [
|
|
195
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
196
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
191
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
192
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
193
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
194
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
195
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
196
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
197
197
|
setSwipe(swipe?: boolean): this
|
|
198
|
-
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
199
|
-
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
198
|
+
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, trackPad?: boolean): this
|
|
199
|
+
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, trackPad?: boolean }): this
|
|
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
|
|
@@ -217,14 +217,14 @@ declare namespace zim {
|
|
|
217
217
|
contactEnd(call: Function): this
|
|
218
218
|
noContact(): this
|
|
219
219
|
noContactEnd(): this
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
puppet(o: DisplayObject): this
|
|
221
|
+
noPuppet(): this
|
|
222
222
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
223
223
|
hitTestReg(other: DisplayObject): boolean
|
|
224
224
|
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
225
225
|
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
226
226
|
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
227
|
-
|
|
227
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
228
228
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
229
229
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
230
230
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -232,10 +232,10 @@ declare namespace zim {
|
|
|
232
232
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
233
233
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
234
234
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
235
|
-
animate(config_or_props: {} |
|
|
236
|
-
animate(config: { props: {} |
|
|
237
|
-
stopAnimate(ids?: string | [
|
|
238
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
235
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, rewindPick?: boolean, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean, pathDamp?:number, style?: boolean, group?: string): this
|
|
236
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, rewindPick?: boolean, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean, pathDamp?:number, style?: boolean, group?: string }): this
|
|
237
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
238
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
239
239
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
240
240
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
241
241
|
copyMatrix(source: DisplayObject): this
|
|
@@ -243,8 +243,8 @@ declare namespace zim {
|
|
|
243
243
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
244
244
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
245
245
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
246
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
247
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
246
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
247
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
248
248
|
mov(x: number, y?: number): this
|
|
249
249
|
top(): this
|
|
250
250
|
bot(): this
|
|
@@ -335,8 +335,8 @@ declare namespace zim {
|
|
|
335
335
|
readonly borderDashedCommand: any
|
|
336
336
|
setColorRange(color1?: color, color2?: color): this
|
|
337
337
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
338
|
-
linearGradient(colors: [
|
|
339
|
-
radialGradient(colors: [
|
|
338
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
339
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
340
340
|
readonly veeObj: zimVee
|
|
341
341
|
// END ZIM Shape Interface
|
|
342
342
|
}
|
|
@@ -353,8 +353,8 @@ declare namespace zim {
|
|
|
353
353
|
export function scrollY(num?: number, time?: number): number
|
|
354
354
|
|
|
355
355
|
export class Blob extends Container implements zimShape {
|
|
356
|
-
constructor(config_or_color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, points?: number | any[] | string | Rectangle | Circle | Triangle | Flare, radius?: number, controlLength?: number, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | [
|
|
357
|
-
constructor(config: { color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, points?: number | any[] | string | Rectangle | Circle | Triangle | Flare, radius?: number, controlLength?: number, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | [
|
|
356
|
+
constructor(config_or_color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, points?: number | any[] | string | Rectangle | Circle | Triangle | Flare, radius?: number, controlLength?: number, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | number[], onTop?: boolean, circleColor?: color, circleBorderColor?: color, stickColor?: color, selectColor?: color, selectPoints?: boolean, editPoints?: string | boolean, interactive?: boolean, strokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
357
|
+
constructor(config: { color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, points?: number | any[] | string | Rectangle | Circle | Triangle | Flare, radius?: number, controlLength?: number, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | number[], onTop?: boolean, circleColor?: color, circleBorderColor?: color, stickColor?: color, selectColor?: color, selectPoints?: boolean, editPoints?: string | boolean, interactive?: boolean, strokeObj?: {}, style?: boolean, group?: string, inherit?: {} })
|
|
358
358
|
// ZIM Shape Interface
|
|
359
359
|
readonly shape: Shape
|
|
360
360
|
color: color
|
|
@@ -366,8 +366,8 @@ declare namespace zim {
|
|
|
366
366
|
readonly borderDashedCommand: any
|
|
367
367
|
setColorRange(color1?: color, color2?: color): this
|
|
368
368
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
369
|
-
linearGradient(colors: [
|
|
370
|
-
radialGradient(colors: [
|
|
369
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
370
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
371
371
|
readonly veeObj: zimVee
|
|
372
372
|
// END ZIM Shape Interface
|
|
373
373
|
approximateBounds(num?: number, showPoints?: boolean): this
|
|
@@ -383,9 +383,9 @@ declare namespace zim {
|
|
|
383
383
|
changeControl(config_or_index: number, type?: string, rect1X?: number, rect1Y?: number, rect2X?: number, rect2Y?: number, circleX?: number, circleY?: number, update?: boolean): this
|
|
384
384
|
changeControl(config: { index: number, type?: string, rect1X?: number, rect1Y?: number, rect2X?: number, rect2Y?: number, circleX?: number, circleY?: number, update?: boolean }): this
|
|
385
385
|
transformPoints(transformType: string, amount: number, x?: number, y?: number): this
|
|
386
|
-
reversePoints(points: [
|
|
386
|
+
reversePoints(points: any[]): this
|
|
387
387
|
makeSquiggle(index?: number): Squiggle
|
|
388
|
-
splitBlob(point1:Point, point2:Point, num?:number, clean?:boolean): [
|
|
388
|
+
splitBlob(point1:Point, point2:Point, num?:number, clean?:boolean): Blob[]
|
|
389
389
|
update(normalized?: boolean): this
|
|
390
390
|
showControls(): this
|
|
391
391
|
hideControls(): this
|
|
@@ -393,8 +393,8 @@ declare namespace zim {
|
|
|
393
393
|
removePoint(index: number): this
|
|
394
394
|
readonly num: number
|
|
395
395
|
points: number | any[] | string | Rectangle | Circle | Triangle
|
|
396
|
-
pointsAdjusted: [
|
|
397
|
-
pointObjects: [
|
|
396
|
+
pointsAdjusted: any[]
|
|
397
|
+
pointObjects: any[]
|
|
398
398
|
readonly segmentPoints: any[]
|
|
399
399
|
readonly segmentRatios: any[]
|
|
400
400
|
getPointAngle(index: number): number
|
|
@@ -537,22 +537,22 @@ declare namespace zim {
|
|
|
537
537
|
|
|
538
538
|
// ++++++++++++++++++++++++++++++++++++++
|
|
539
539
|
// ZIM CODE
|
|
540
|
-
export function chop(obj: DisplayObject, cols?: number, rows?: number, tile?: boolean, margin?: number): Tile | [
|
|
541
|
-
export function shuffle(array: [
|
|
542
|
-
export function pluck(array: [
|
|
540
|
+
export function chop(obj: DisplayObject, cols?: number, rows?: number, tile?: boolean, margin?: number): Tile | Bitmap[]
|
|
541
|
+
export function shuffle(array: any[]): any[]
|
|
542
|
+
export function pluck(array: any[], remove?: boolean): any
|
|
543
543
|
export function rand(a?: number, b?: number, integer?: boolean, negative?: boolean): number
|
|
544
544
|
export function seedRandom(seed?: number | string): number | string
|
|
545
545
|
export function odds(percent?: number): boolean
|
|
546
|
-
export function rarity(weights: {}, shuffle?: boolean, zimColors?: boolean, dynamicPayload?: boolean): [
|
|
547
|
-
export function repeats(array: [
|
|
548
|
-
export function loop(obj: number | {} | [
|
|
546
|
+
export function rarity(weights: {}, shuffle?: boolean, zimColors?: boolean, dynamicPayload?: boolean): any[]
|
|
547
|
+
export function repeats(array: any[], total?: boolean): number
|
|
548
|
+
export function loop(obj: number | {} | any[] | Dictionary, call: Function, reverse?: boolean, interval?: number, step?: number, start?: number, end?: number, immediate?: boolean, complete?: Function, completeParams?: any): any
|
|
549
549
|
export function getTIME(time?: number, timeType?: string, minWarning?: number, maxWarning?: number, noWarning?: boolean): string
|
|
550
550
|
export function checkTIME(time?: number, timeChar?: string, minWarning?: number, maxWarning?: number): void
|
|
551
551
|
export function timeout(time: number | zimVee, call: Function): { pause: Function, clear: Function, time: number, paused: boolean, done: boolean }
|
|
552
552
|
export function interval(time: number | zimVee, call: Function, total?: number, immediate?: boolean, pauseOnBlur?: boolean, timeUnit?: string, complete?: Function, completeParams?: any, timeout?: boolean, mID?: string, tether?: any): { pause: Function, clear: Function, time: number, count: number, total: number, paused: boolean, pauseTimeLeft: number }
|
|
553
553
|
export function copy<T>(obj: T, clone?: boolean): T
|
|
554
|
-
export function arraysEqual(a: [
|
|
555
|
-
export function arrayMinMax(arr: [
|
|
554
|
+
export function arraysEqual(a: any[], b: any[], strict?: boolean): boolean
|
|
555
|
+
export function arrayMinMax(arr: any[]): {}
|
|
556
556
|
export function isEmpty(obj: {}): boolean
|
|
557
557
|
export function isPick(obj: any): boolean
|
|
558
558
|
export function isJSON(str: string): boolean
|
|
@@ -565,7 +565,7 @@ declare namespace zim {
|
|
|
565
565
|
export function constrain(num: number, min?: number, max?: number, negative?: boolean): number
|
|
566
566
|
export function dist(a: {} | number, b: {} | number, c: number, d: number): number
|
|
567
567
|
export function rectIntersect(a: {} | Boundary, b: {} | Boundary, margin?: number): {}
|
|
568
|
-
export function boundsAroundPoints(points:
|
|
568
|
+
export function boundsAroundPoints(points: {}[]): number
|
|
569
569
|
export function angle(a: {} | number, b: {} | number, c: number, d: number): number
|
|
570
570
|
export function asset(file: string): DisplayObject
|
|
571
571
|
export class Point {
|
|
@@ -609,7 +609,7 @@ declare namespace zim {
|
|
|
609
609
|
export class BitmapColor {
|
|
610
610
|
constructor(image: string | Bitmap, repetition?: string, matrix?: createjs.Matrix2D)
|
|
611
611
|
}
|
|
612
|
-
export function makeID(type?: string |
|
|
612
|
+
export function makeID(type?: string | string | number[], length?: number, letterCase?: string): string
|
|
613
613
|
export function makeSyllable(length?: number, firstValue?: boolean): string
|
|
614
614
|
export function makePrimitive(obj: any): string | number | boolean
|
|
615
615
|
export function makeMath(): void
|
|
@@ -666,18 +666,18 @@ declare namespace zim {
|
|
|
666
666
|
dispose(): boolean
|
|
667
667
|
}
|
|
668
668
|
export class Hierarchy {
|
|
669
|
-
constructor(input: [
|
|
670
|
-
processSimple(input: [
|
|
671
|
-
processComplex(input: [
|
|
672
|
-
getLinearList(data: [
|
|
673
|
-
getLinearIds(data: [
|
|
669
|
+
constructor(input: any[] | {})
|
|
670
|
+
processSimple(input: any[] | {}): {}
|
|
671
|
+
processComplex(input: any[] | {}): any[] | {}
|
|
672
|
+
getLinearList(data: any[] | {}): any[]
|
|
673
|
+
getLinearIds(data: any[] | {}): any[]
|
|
674
674
|
getData(id: String): any
|
|
675
675
|
getNextSibling(id: string): string
|
|
676
676
|
getPrevSibling(id: string): string
|
|
677
677
|
getParent(id: string): {}
|
|
678
|
-
insertBefore(items: [
|
|
679
|
-
insertAfter(items: [
|
|
680
|
-
replaceItem(item: [
|
|
678
|
+
insertBefore(items: any[] | {}, id: string, innerItems: any[] | {}): void
|
|
679
|
+
insertAfter(items: any[] | {}, id: string, innerItems: any[] | {}): void
|
|
680
|
+
replaceItem(item: any[] | {}, id: string): void
|
|
681
681
|
removeItem(id: string): void
|
|
682
682
|
}
|
|
683
683
|
export function swapProperties(property: string, objA: any, objB: any): boolean
|
|
@@ -701,20 +701,20 @@ declare namespace zim {
|
|
|
701
701
|
export function toBW(hex: string): string
|
|
702
702
|
export function invertColor(hex: string): string
|
|
703
703
|
export function syntaxColor(text: string, theme?: string, darken?: number): string
|
|
704
|
-
export function zimEase(points: [
|
|
705
|
-
export function spline(points: [
|
|
704
|
+
export function zimEase(points: any[], polynomials?: any[], reverse?: boolean, lockEnds?: boolean): Function
|
|
705
|
+
export function spline(points: any[], tension?: number, close?: boolean, shape?: Shape, removeLast?: boolean): string
|
|
706
706
|
export function getPointAtPercent(x1?:number, y1?:number, x2?:number, y2?:number, percent?:number): Point
|
|
707
|
-
export function pointAlongCurve(points: [
|
|
708
|
-
export function distanceAlongCurve(points: [
|
|
709
|
-
export function closestPointAlongCurve(point: any, segmentPoints: [
|
|
710
|
-
export function transformPoints(points: [
|
|
711
|
-
export function trimEndPoints(points: [
|
|
712
|
-
export function reversePoints(points: [
|
|
713
|
-
export function appendPoints(original: [
|
|
714
|
-
export function prependPoints(original: [
|
|
715
|
-
export function splitPoints(points: [
|
|
716
|
-
export function outlineImage(image: DisplayObject, reverse?: boolean): [[
|
|
717
|
-
export function simplifyPoints(points: [
|
|
707
|
+
export function pointAlongCurve(points: any[], ratio?: number, getAngle?: boolean): {}
|
|
708
|
+
export function distanceAlongCurve(points: any[]): number
|
|
709
|
+
export function closestPointAlongCurve(point: any, segmentPoints: any[], num?: number, interpolate?: boolean, percentage?: boolean): number
|
|
710
|
+
export function transformPoints(points: any[], transformType: string, amount: number, x?: number, y?: number): any[]
|
|
711
|
+
export function trimEndPoints(points: any[]): any[]
|
|
712
|
+
export function reversePoints(points: any[]): any[]
|
|
713
|
+
export function appendPoints(original: any[], points: any[], controlType?: string): any[]
|
|
714
|
+
export function prependPoints(original: any[], points: any[], controlType?: string): any[]
|
|
715
|
+
export function splitPoints(points: any[], index?: number, trimEnds?: boolean): any[]
|
|
716
|
+
export function outlineImage(image: DisplayObject, reverse?: boolean): any[][]
|
|
717
|
+
export function simplifyPoints(points: any[], tolerance?:number, highestQuality?:boolean, reverse?:boolean, removeLast?:boolean): any[][]
|
|
718
718
|
export function mobile(orientation?: boolean): string | boolean
|
|
719
719
|
export function vee(obj?: any): boolean
|
|
720
720
|
export function async(url: string, callback?: Function): void
|
|
@@ -778,12 +778,12 @@ declare namespace zim {
|
|
|
778
778
|
wired(config_or_source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string): this
|
|
779
779
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string }): this
|
|
780
780
|
noWired(): this
|
|
781
|
-
bind(config_or_id: string, props?: [
|
|
782
|
-
bind(config: { id: string, props?: [
|
|
783
|
-
noBind(config_or_props?: [
|
|
784
|
-
noBind(config: { props?: [
|
|
785
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
786
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
781
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
782
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
783
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
784
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
785
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
786
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
787
787
|
setSwipe(swipe?: boolean): this
|
|
788
788
|
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
789
789
|
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
@@ -807,10 +807,14 @@ declare namespace zim {
|
|
|
807
807
|
contactEnd(call: Function): this
|
|
808
808
|
noContact(): this
|
|
809
809
|
noContactEnd(): this
|
|
810
|
+
puppet(o: DisplayObject): this
|
|
811
|
+
noPuppet(): this
|
|
810
812
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
811
813
|
hitTestReg(other: DisplayObject): boolean
|
|
812
|
-
|
|
813
|
-
|
|
814
|
+
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
815
|
+
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
816
|
+
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
817
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
814
818
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
815
819
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
816
820
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -818,10 +822,10 @@ declare namespace zim {
|
|
|
818
822
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
819
823
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
820
824
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
821
|
-
animate(config_or_props: {} |
|
|
822
|
-
animate(config: { props: {} |
|
|
823
|
-
stopAnimate(ids?: string | [
|
|
824
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
825
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean): this
|
|
826
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean }): this
|
|
827
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
828
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
825
829
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
826
830
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
827
831
|
copyMatrix(source: DisplayObject): this
|
|
@@ -829,8 +833,8 @@ declare namespace zim {
|
|
|
829
833
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
830
834
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
831
835
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
832
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
833
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
836
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
837
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
834
838
|
mov(x: number, y?: number): this
|
|
835
839
|
top(): this
|
|
836
840
|
bot(): this
|
|
@@ -944,12 +948,12 @@ declare namespace zim {
|
|
|
944
948
|
wired(config_or_source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string): this
|
|
945
949
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string }): this
|
|
946
950
|
noWired(): this
|
|
947
|
-
bind(config_or_id: string, props?: [
|
|
948
|
-
bind(config: { id: string, props?: [
|
|
949
|
-
noBind(config_or_props?: [
|
|
950
|
-
noBind(config: { props?: [
|
|
951
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
952
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
951
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
952
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
953
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
954
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
955
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
956
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
953
957
|
setSwipe(swipe?: boolean): this
|
|
954
958
|
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
955
959
|
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
@@ -973,10 +977,14 @@ declare namespace zim {
|
|
|
973
977
|
contactEnd(call: Function): this
|
|
974
978
|
noContact(): this
|
|
975
979
|
noContactEnd(): this
|
|
980
|
+
puppet(o: DisplayObject): this
|
|
981
|
+
noPuppet(): this
|
|
976
982
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
977
983
|
hitTestReg(other: DisplayObject): boolean
|
|
978
|
-
|
|
979
|
-
|
|
984
|
+
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
985
|
+
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
986
|
+
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
987
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
980
988
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
981
989
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
982
990
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -984,10 +992,10 @@ declare namespace zim {
|
|
|
984
992
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
985
993
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
986
994
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
987
|
-
animate(config_or_props: {} |
|
|
988
|
-
animate(config: { props: {} |
|
|
989
|
-
stopAnimate(ids?: string | [
|
|
990
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
995
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean): this
|
|
996
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean }): this
|
|
997
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
998
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
991
999
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
992
1000
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
993
1001
|
copyMatrix(source: DisplayObject): this
|
|
@@ -995,8 +1003,8 @@ declare namespace zim {
|
|
|
995
1003
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
996
1004
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
997
1005
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
998
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
999
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1006
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1007
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1000
1008
|
mov(x: number, y?: number): this
|
|
1001
1009
|
top(): this
|
|
1002
1010
|
bot(): this
|
|
@@ -1081,7 +1089,7 @@ declare namespace zim {
|
|
|
1081
1089
|
id: any // string for Sprite and number for createjs.Sprite
|
|
1082
1090
|
frame: number
|
|
1083
1091
|
normalizedFrame: number
|
|
1084
|
-
normalizedFrames: [
|
|
1092
|
+
normalizedFrames: any[]
|
|
1085
1093
|
totalFrames: number
|
|
1086
1094
|
animations: {}
|
|
1087
1095
|
running: boolean
|
|
@@ -1118,12 +1126,12 @@ declare namespace zim {
|
|
|
1118
1126
|
wired(config_or_source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string): this
|
|
1119
1127
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string }): this
|
|
1120
1128
|
noWired(): this
|
|
1121
|
-
bind(config_or_id: string, props?: [
|
|
1122
|
-
bind(config: { id: string, props?: [
|
|
1123
|
-
noBind(config_or_props?: [
|
|
1124
|
-
noBind(config: { props?: [
|
|
1125
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1126
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1129
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
1130
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
1131
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
1132
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
1133
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
1134
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
1127
1135
|
setSwipe(swipe?: boolean): this
|
|
1128
1136
|
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
1129
1137
|
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
@@ -1147,10 +1155,14 @@ declare namespace zim {
|
|
|
1147
1155
|
contactEnd(call: Function): this
|
|
1148
1156
|
noContact(): this
|
|
1149
1157
|
noContactEnd(): this
|
|
1158
|
+
puppet(o: DisplayObject): this
|
|
1159
|
+
noPuppet(): this
|
|
1150
1160
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
1151
1161
|
hitTestReg(other: DisplayObject): boolean
|
|
1152
|
-
|
|
1153
|
-
|
|
1162
|
+
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1163
|
+
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
1164
|
+
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1165
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
1154
1166
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
1155
1167
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
1156
1168
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -1158,10 +1170,10 @@ declare namespace zim {
|
|
|
1158
1170
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
1159
1171
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
1160
1172
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
1161
|
-
animate(config_or_props: {} |
|
|
1162
|
-
animate(config: { props: {} |
|
|
1163
|
-
stopAnimate(ids?: string | [
|
|
1164
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
1173
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean): this
|
|
1174
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean }): this
|
|
1175
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
1176
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
1165
1177
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
1166
1178
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
1167
1179
|
copyMatrix(source: DisplayObject): this
|
|
@@ -1169,8 +1181,8 @@ declare namespace zim {
|
|
|
1169
1181
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
1170
1182
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
1171
1183
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
1172
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1173
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1184
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1185
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1174
1186
|
mov(x: number, y?: number): this
|
|
1175
1187
|
top(): this
|
|
1176
1188
|
bot(): this
|
|
@@ -1308,12 +1320,12 @@ declare namespace zim {
|
|
|
1308
1320
|
wired(config_or_source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string): this
|
|
1309
1321
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string }): this
|
|
1310
1322
|
noWired(): this
|
|
1311
|
-
bind(config_or_id: string, props?: [
|
|
1312
|
-
bind(config: { id: string, props?: [
|
|
1313
|
-
noBind(config_or_props?: [
|
|
1314
|
-
noBind(config: { props?: [
|
|
1315
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1316
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1323
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
1324
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
1325
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
1326
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
1327
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
1328
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
1317
1329
|
setSwipe(swipe?: boolean): this
|
|
1318
1330
|
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
1319
1331
|
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
@@ -1337,10 +1349,14 @@ declare namespace zim {
|
|
|
1337
1349
|
contactEnd(call: Function): this
|
|
1338
1350
|
noContact(): this
|
|
1339
1351
|
noContactEnd(): this
|
|
1352
|
+
puppet(o: DisplayObject): this
|
|
1353
|
+
noPuppet(): this
|
|
1340
1354
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
1341
1355
|
hitTestReg(other: DisplayObject): boolean
|
|
1342
|
-
|
|
1343
|
-
|
|
1356
|
+
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1357
|
+
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
1358
|
+
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1359
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
1344
1360
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
1345
1361
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
1346
1362
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -1348,10 +1364,10 @@ declare namespace zim {
|
|
|
1348
1364
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
1349
1365
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
1350
1366
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
1351
|
-
animate(config_or_props: {} |
|
|
1352
|
-
animate(config: { props: {} |
|
|
1353
|
-
stopAnimate(ids?: string | [
|
|
1354
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
1367
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean): this
|
|
1368
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean }): this
|
|
1369
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
1370
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
1355
1371
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
1356
1372
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
1357
1373
|
copyMatrix(source: DisplayObject): this
|
|
@@ -1359,8 +1375,8 @@ declare namespace zim {
|
|
|
1359
1375
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
1360
1376
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
1361
1377
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
1362
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1363
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1378
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1379
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1364
1380
|
mov(x: number, y?: number): this
|
|
1365
1381
|
top(): this
|
|
1366
1382
|
bot(): this
|
|
@@ -1443,27 +1459,27 @@ declare namespace zim {
|
|
|
1443
1459
|
dispose(): boolean
|
|
1444
1460
|
cache(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number, scale?: number, options?: {}): this
|
|
1445
1461
|
keyOut(color?: string, tolerance?: number, replacement?: color): this
|
|
1446
|
-
getColorAt(x: number, y: number, array?: boolean): string | [
|
|
1462
|
+
getColorAt(x: number, y: number, array?: boolean): string | number[]
|
|
1447
1463
|
drawImageData(x?: number, y?: number, sourceX?: number, srcY?: number, srcWidth?: number, srcHeight?: number): void
|
|
1448
1464
|
addBitmapData(): Bitmap
|
|
1449
1465
|
static fromData(data: any, callback: Function): void
|
|
1450
|
-
imageData: { data: [
|
|
1466
|
+
imageData: { data: number[] }
|
|
1451
1467
|
svg: SVGElement
|
|
1452
1468
|
}
|
|
1453
1469
|
|
|
1454
1470
|
export class SlicedBitmap extends zim.Bitmap implements zimDisplay {
|
|
1455
|
-
constructor(config_or_width?: number, height?: number, obj?: HTMLImageElement | DisplayObject, slices?:[[]
|
|
1456
|
-
constructor(config: { width?: number, height?: number, obj?: HTMLImageElement | DisplayObject, slices?:[[]
|
|
1471
|
+
constructor(config_or_width?: number, height?: number, obj?: HTMLImageElement | DisplayObject, slices?: any[][], types?: any[][], gap?: number, scale?: number, style?: boolean, group?: string, inherit?: {})
|
|
1472
|
+
constructor(config: { width?: number, height?: number, obj?: HTMLImageElement | DisplayObject, slices?: any[][], types?: any[][], gap?: number, scale?: number, style?: boolean, group?: string, inherit?: {} })
|
|
1457
1473
|
slicesSca(): this
|
|
1458
|
-
slices: [[]
|
|
1459
|
-
types: [[]
|
|
1474
|
+
slices : any[][]
|
|
1475
|
+
types : any[][]
|
|
1460
1476
|
gap: number
|
|
1461
1477
|
slicesWidth: number
|
|
1462
1478
|
slicesHeight: number
|
|
1463
1479
|
slicesSale: number
|
|
1464
1480
|
slicesScaleX: number
|
|
1465
1481
|
slicesScaleY: number
|
|
1466
|
-
exchange: [[[]
|
|
1482
|
+
exchange : any[][][]
|
|
1467
1483
|
sH0: number
|
|
1468
1484
|
sV0: number
|
|
1469
1485
|
tH0: number
|
|
@@ -1530,12 +1546,12 @@ declare namespace zim {
|
|
|
1530
1546
|
wired(config_or_source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string): this
|
|
1531
1547
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string }): this
|
|
1532
1548
|
noWired(): this
|
|
1533
|
-
bind(config_or_id: string, props?: [
|
|
1534
|
-
bind(config: { id: string, props?: [
|
|
1535
|
-
noBind(config_or_props?: [
|
|
1536
|
-
noBind(config: { props?: [
|
|
1537
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1538
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1549
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
1550
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
1551
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
1552
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
1553
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
1554
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
1539
1555
|
setSwipe(swipe?: boolean): this
|
|
1540
1556
|
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
1541
1557
|
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
@@ -1559,10 +1575,14 @@ declare namespace zim {
|
|
|
1559
1575
|
contactEnd(call: Function): this
|
|
1560
1576
|
noContact(): this
|
|
1561
1577
|
noContactEnd(): this
|
|
1578
|
+
puppet(o: DisplayObject): this
|
|
1579
|
+
noPuppet(): this
|
|
1562
1580
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
1563
1581
|
hitTestReg(other: DisplayObject): boolean
|
|
1564
|
-
|
|
1565
|
-
|
|
1582
|
+
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1583
|
+
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
1584
|
+
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1585
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
1566
1586
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
1567
1587
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
1568
1588
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -1570,10 +1590,10 @@ declare namespace zim {
|
|
|
1570
1590
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
1571
1591
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
1572
1592
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
1573
|
-
animate(config_or_props: {} |
|
|
1574
|
-
animate(config: { props: {} |
|
|
1575
|
-
stopAnimate(ids?: string | [
|
|
1576
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
1593
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean): this
|
|
1594
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean }): this
|
|
1595
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
1596
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
1577
1597
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
1578
1598
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
1579
1599
|
copyMatrix(source: DisplayObject): this
|
|
@@ -1581,8 +1601,8 @@ declare namespace zim {
|
|
|
1581
1601
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
1582
1602
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
1583
1603
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
1584
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1585
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1604
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1605
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1586
1606
|
mov(x: number, y?: number): this
|
|
1587
1607
|
top(): this
|
|
1588
1608
|
bot(): this
|
|
@@ -1692,12 +1712,12 @@ declare namespace zim {
|
|
|
1692
1712
|
wired(config_or_source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string): this
|
|
1693
1713
|
wired(config: { source: DisplayObject, prop: string, twoWay?: boolean, setSource?: boolean, filter?: Function, call?: Function, input?: string }): this
|
|
1694
1714
|
noWired(): this
|
|
1695
|
-
bind(config_or_id: string, props?: [
|
|
1696
|
-
bind(config: { id: string, props?: [
|
|
1697
|
-
noBind(config_or_props?: [
|
|
1698
|
-
noBind(config: { props?: [
|
|
1699
|
-
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1700
|
-
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | [
|
|
1715
|
+
bind(config_or_id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind): this
|
|
1716
|
+
bind(config: { id: string, props?: any[] | {} | string, extra?: string | number, filter?: Function, bindObj?: Bind }): this
|
|
1717
|
+
noBind(config_or_props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind): this
|
|
1718
|
+
noBind(config: { props?: any[] | {} | string, removeConnectionData?: boolean, call?: Function, bindObj?: Bind }): this
|
|
1719
|
+
transform(config_or_move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container): this
|
|
1720
|
+
transform(config: { move?: boolean, stretchX?: boolean, stretchY?: boolean, scale?: boolean, rotate?: boolean, allowToggle?: boolean, visible?: boolean, onTop?: boolean, showStretch?: boolean, showRotate?: boolean, showScale?: boolean, showReg?: boolean, showBorder?: boolean, borderColor?: color, borderWidth?: number, dashed?: boolean | number[], customCursors?: boolean, handleSize?: number, regSize?: number, snapDistance?: number, snapRotation?: number, cache?: boolean, events?: boolean, ghostColor?: color, ghostWidth?: number, ghostDashed?: boolean, ghostHidden?: boolean, container?: Container }): this
|
|
1701
1721
|
setSwipe(swipe?: boolean): this
|
|
1702
1722
|
gesture(config_or_move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }): this
|
|
1703
1723
|
gesture(config: { move?: boolean, scale?: boolean, rotate?: boolean, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, minScale?: number, maxScale?: number, snapRotate?: number, localBounds?: boolean, slide?: boolean, slideEffect?: number, regControl?: boolean, onTop?: boolean, surround?: boolean, circularBounds?: boolean, rect?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number } }): this
|
|
@@ -1721,10 +1741,14 @@ declare namespace zim {
|
|
|
1721
1741
|
contactEnd(call: Function): this
|
|
1722
1742
|
noContact(): this
|
|
1723
1743
|
noContactEnd(): this
|
|
1744
|
+
puppet(o: DisplayObject): this
|
|
1745
|
+
noPuppet(): this
|
|
1724
1746
|
hitTestPoint(x: number, y: number, boundsCheck?: boolean): boolean
|
|
1725
1747
|
hitTestReg(other: DisplayObject): boolean
|
|
1726
|
-
|
|
1727
|
-
|
|
1748
|
+
hitTestRect(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1749
|
+
hitTestRectPoint(x: number, y: number, margin?: number): boolean
|
|
1750
|
+
hitTestCircle(other: DisplayObject, num?: number, boundsCheck?: boolean, inside?: boolean): boolean
|
|
1751
|
+
hitTestCirclePoint(x: number, y: number, margin?: number): boolean
|
|
1728
1752
|
hitTestCircles(other: DisplayObject, margin?: number): boolean
|
|
1729
1753
|
hitTestCircleRect(other: DisplayObject, margin?: number): boolean
|
|
1730
1754
|
hitTestBounds(other: DisplayObject, margin?: number, boundsShape?: boolean): boolean
|
|
@@ -1732,10 +1756,10 @@ declare namespace zim {
|
|
|
1732
1756
|
resetBounds(width_or_boundsX?: number, height_or_boundsY?: number, width?: number, height?: number): this
|
|
1733
1757
|
hitTestPath(other: DisplayObject, num?: number, showPoints?: boolean): boolean
|
|
1734
1758
|
hitTestGrid(width?: number, height?: number, cols?: number, rows?: number, x?: number, y?: number, offsetX?: number, offsetY?: number, spacingX?: number, spacingY?: number, local?: boolean, type?: string): any
|
|
1735
|
-
animate(config_or_props: {} |
|
|
1736
|
-
animate(config: { props: {} |
|
|
1737
|
-
stopAnimate(ids?: string | [
|
|
1738
|
-
pauseAnimate(state?: boolean, ids?: string | [
|
|
1759
|
+
animate(config_or_props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean): this
|
|
1760
|
+
animate(config: { props: {} | {}[], time?: number | zimVee, ease?: string | zimVee, call?: Function, params?: any, wait?: number | zimVee, waitedCall?: Function, waitedParams?: any, loop?: boolean, loopCount?: number | zimVee, loopWait?: number | zimVee, loopCall?: Function, loopParams?: any, loopWaitCall?: Function, loopWaitParams?: any, loopPick?: boolean, rewind?: boolean | zimVee, rewindWait?: number | zimVee, rewindCall?: Function, rewindParams?: any, rewindWaitCall?: Function, rewindWaitParams?: any, rewindTime?: number | zimVee, rewindEase?: string | zimVee, sequence?: number, sequenceCall?: Function, sequenceParams?: any, sequenceReverse?: boolean | zimVee, ticker?: boolean, cjsProps?: {}, css?: boolean, protect?: boolean, override?: boolean, from?: boolean | zimVee, set?: {} | zimVee, id?: string, events?: boolean, sequenceTarget?: any, dynamic?: boolean, drag?: boolean, clamp?: boolean, startPaused?: boolean, clean?: boolean, obj?: {} | {}[], seriesWait?: any, sequenceWait?: any, rate?: number | zimVee, pauseOnBlur?: boolean, easeAmount?: number | zimVee, easeFrequency?: number | zimVee, timeUnit?: string, timeCheck?: boolean, noAnimateCall?: boolean }): this
|
|
1761
|
+
stopAnimate(ids?: string | string[], toEnd?: boolean): this
|
|
1762
|
+
pauseAnimate(state?: boolean, ids?: string | string[]): this
|
|
1739
1763
|
wiggle(config_or_property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number): this
|
|
1740
1764
|
wiggle(config: { property: string, baseAmount: number | zimVee, minAmount?: number | zimVee, maxAmount?: number | zimVee, minTime?: number | zimVee, maxTime?: number | zimVee, totalTime?: number, type?: string, ease?: string, integer?: boolean, id?: string, startType?: string, ticker?: boolean, wait?: number }): this
|
|
1741
1765
|
copyMatrix(source: DisplayObject): this
|
|
@@ -1743,8 +1767,8 @@ declare namespace zim {
|
|
|
1743
1767
|
sha(color_or_shadow?: string | createjs.Shadow, offsetX?: number, offsetY?: number, blur?: number): this
|
|
1744
1768
|
pos(config_or_x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean): this
|
|
1745
1769
|
pos(config: { x?: number, y?: number, right?: boolean | string, bottom?: boolean | string, container?: Container | Stage, index?: number, add?: boolean, reg?: boolean, regX?: boolean, regY?: boolean }): this
|
|
1746
|
-
loc(config_or_target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1747
|
-
loc(config: { target_or_x?: {} | [] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1770
|
+
loc(config_or_target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number): this
|
|
1771
|
+
loc(config: { target_or_x?: {} | any[] | DisplayObject | Point | number, y?: number, container?: Container | Stage, index?: number, add?: boolean, localToLocal?: boolean, x?: number }): this
|
|
1748
1772
|
mov(x: number, y?: number): this
|
|
1749
1773
|
top(): this
|
|
1750
1774
|
bot(): this
|
|
@@ -1837,14 +1861,14 @@ declare namespace zim {
|
|
|
1837
1861
|
readonly borderDashedCommand: any
|
|
1838
1862
|
setColorRange(color1?: color, color2?: color): this
|
|
1839
1863
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
1840
|
-
linearGradient(colors: [
|
|
1841
|
-
radialGradient(colors: [
|
|
1864
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
1865
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
1842
1866
|
readonly veeObj: zimVee
|
|
1843
1867
|
// END ZIM Shape Interface
|
|
1844
1868
|
}
|
|
1845
1869
|
|
|
1846
1870
|
export class Circle extends Container implements zimShape {
|
|
1847
|
-
constructor(config_radius?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, dashed?: boolean | [
|
|
1871
|
+
constructor(config_radius?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, dashed?: boolean | number[], percent?: number, percentClose?: boolean, strokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
1848
1872
|
// ZIM Shape Interface
|
|
1849
1873
|
readonly shape: Shape
|
|
1850
1874
|
color: color
|
|
@@ -1856,8 +1880,8 @@ declare namespace zim {
|
|
|
1856
1880
|
readonly borderDashedCommand: any
|
|
1857
1881
|
setColorRange(color1?: color, color2?: color): this
|
|
1858
1882
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
1859
|
-
linearGradient(colors: [
|
|
1860
|
-
radialGradient(colors: [
|
|
1883
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
1884
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
1861
1885
|
readonly veeObj: zimVee
|
|
1862
1886
|
// END ZIM Shape Interface
|
|
1863
1887
|
radius: number
|
|
@@ -1866,8 +1890,8 @@ declare namespace zim {
|
|
|
1866
1890
|
}
|
|
1867
1891
|
|
|
1868
1892
|
export class Rectangle extends Container implements zimShape {
|
|
1869
|
-
constructor(config_or_width?: number | zimVee, height?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], dashed?: boolean | [
|
|
1870
|
-
constructor(config: { width?: number | zimVee, height?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], dashed?: boolean | [
|
|
1893
|
+
constructor(config_or_width?: number | zimVee, height?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], dashed?: boolean | number[], strokeObj?: {}, scaleDimensions?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
1894
|
+
constructor(config: { width?: number | zimVee, height?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], dashed?: boolean | number[], strokeObj?: {}, scaleDimensions?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
1871
1895
|
// ZIM Shape Interface
|
|
1872
1896
|
readonly shape: Shape
|
|
1873
1897
|
color: color
|
|
@@ -1879,16 +1903,16 @@ declare namespace zim {
|
|
|
1879
1903
|
readonly borderDashedCommand: any
|
|
1880
1904
|
setColorRange(color1?: color, color2?: color): this
|
|
1881
1905
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
1882
|
-
linearGradient(colors: [
|
|
1883
|
-
radialGradient(colors: [
|
|
1906
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
1907
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
1884
1908
|
readonly veeObj: zimVee
|
|
1885
1909
|
// END ZIM Shape Interface
|
|
1886
1910
|
corner: number
|
|
1887
1911
|
}
|
|
1888
1912
|
|
|
1889
1913
|
export class Triangle extends Container implements zimShape {
|
|
1890
|
-
constructor(config_or_a?: number | zimVee, b?: number | zimVee, c?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], center?: boolean, adjust?: number, dashed?: boolean | [
|
|
1891
|
-
constructor(config: { a?: number | zimVee, b?: number | zimVee, c?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], center?: boolean, adjust?: number, dashed?: boolean | [
|
|
1914
|
+
constructor(config_or_a?: number | zimVee, b?: number | zimVee, c?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], center?: boolean, adjust?: number, dashed?: boolean | number[], strokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
1915
|
+
constructor(config: { a?: number | zimVee, b?: number | zimVee, c?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, corner?: number | any[], center?: boolean, adjust?: number, dashed?: boolean | number[], strokeObj?: {}, style?: boolean, group?: string, inherit?: {} })
|
|
1892
1916
|
// ZIM Shape Interface
|
|
1893
1917
|
readonly shape: Shape
|
|
1894
1918
|
color: color
|
|
@@ -1900,8 +1924,8 @@ declare namespace zim {
|
|
|
1900
1924
|
readonly borderDashedCommand: any
|
|
1901
1925
|
setColorRange(color1?: color, color2?: color): this
|
|
1902
1926
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
1903
|
-
linearGradient(colors: [
|
|
1904
|
-
radialGradient(colors: [
|
|
1927
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
1928
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
1905
1929
|
readonly veeObj: zimVee
|
|
1906
1930
|
// END ZIM Shape Interface
|
|
1907
1931
|
readonly one: { x: number, y: number }
|
|
@@ -1911,8 +1935,8 @@ declare namespace zim {
|
|
|
1911
1935
|
}
|
|
1912
1936
|
|
|
1913
1937
|
export class Poly extends Container implements zimShape {
|
|
1914
|
-
constructor(config_or_radius?: number | zimVee, sides?: number | zimVee, pointSize?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, dashed?: boolean | [
|
|
1915
|
-
constructor(config: { radius?: number | zimVee, sides?: number | zimVee, pointSize?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, dashed?: boolean | [
|
|
1938
|
+
constructor(config_or_radius?: number | zimVee, sides?: number | zimVee, pointSize?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, dashed?: boolean | number[], strokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
1939
|
+
constructor(config: { radius?: number | zimVee, sides?: number | zimVee, pointSize?: number | zimVee, color?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number | zimVee, dashed?: boolean | number[], strokeObj?: {}, style?: boolean, group?: string, inherit?: {} })
|
|
1916
1940
|
// ZIM Shape Interface
|
|
1917
1941
|
readonly shape: Shape
|
|
1918
1942
|
color: color
|
|
@@ -1924,8 +1948,8 @@ declare namespace zim {
|
|
|
1924
1948
|
readonly borderDashedCommand: any
|
|
1925
1949
|
setColorRange(color1?: color, color2?: color): this
|
|
1926
1950
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
1927
|
-
linearGradient(colors: [
|
|
1928
|
-
radialGradient(colors: [
|
|
1951
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
1952
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
1929
1953
|
readonly veeObj: zimVee
|
|
1930
1954
|
// END ZIM Shape Interface
|
|
1931
1955
|
radius: number
|
|
@@ -1934,8 +1958,8 @@ declare namespace zim {
|
|
|
1934
1958
|
}
|
|
1935
1959
|
|
|
1936
1960
|
export class Line extends Container implements zimShape {
|
|
1937
|
-
constructor(config_or_length?: number | zimVee, thickness?: number | zimVee, color?: color | zimVee, startHead?: string | DisplayObject | zimVee, endHead?: string | DisplayObject | zimVee, dashed?: boolean | [
|
|
1938
|
-
constructor(config: { length?: number | zimVee, thickness?: number | zimVee, color?: color | zimVee, startHead?: string | DisplayObject | zimVee, endHead?: string | DisplayObject | zimVee, dashed?: boolean | [
|
|
1961
|
+
constructor(config_or_length?: number | zimVee, thickness?: number | zimVee, color?: color | zimVee, startHead?: string | DisplayObject | zimVee, endHead?: string | DisplayObject | zimVee, dashed?: boolean | number[], strokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
1962
|
+
constructor(config: { length?: number | zimVee, thickness?: number | zimVee, color?: color | zimVee, startHead?: string | DisplayObject | zimVee, endHead?: string | DisplayObject | zimVee, dashed?: boolean | number[], strokeObj?: {}, style?: boolean, group?: string, inherit?: {} })
|
|
1939
1963
|
// ZIM Shape Interface
|
|
1940
1964
|
readonly shape: Shape
|
|
1941
1965
|
color: color
|
|
@@ -1947,8 +1971,8 @@ declare namespace zim {
|
|
|
1947
1971
|
readonly borderDashedCommand: any
|
|
1948
1972
|
setColorRange(color1?: color, color2?: color): this
|
|
1949
1973
|
cloneAll(exact?: boolean, style?: boolean, group?: string, inherit?: {}): this
|
|
1950
|
-
linearGradient(colors: [
|
|
1951
|
-
radialGradient(colors: [
|
|
1974
|
+
linearGradient(colors: any[], ratios: any[], x0: number, y0: number, x1: number, y1: number): this
|
|
1975
|
+
radialGradient(colors: any[], ratios: any[], x0: number, y0: number, radius0: number, x1: number, y1: number, radius1: number): this
|
|
1952
1976
|
readonly veeObj: zimVee
|
|
1953
1977
|
// END ZIM Shape Interface
|
|
1954
1978
|
setPoints(a: Point | number, b: Point | number, c?: number, d?: number): this
|
|
@@ -1969,8 +1993,8 @@ declare namespace zim {
|
|
|
1969
1993
|
|
|
1970
1994
|
|
|
1971
1995
|
export class Squiggle extends Container {
|
|
1972
|
-
constructor(config_or_color?: color | zimVee, thickness?: number, points?: number | any[], length?: number, controlLength?: number | zimVee, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | [
|
|
1973
|
-
constructor(config: { color?: color | zimVee, thickness?: number, points?: number | any[], length?: number, controlLength?: number | zimVee, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | [
|
|
1996
|
+
constructor(config_or_color?: color | zimVee, thickness?: number, points?: number | any[], length?: number, controlLength?: number | zimVee, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | number[], onTop?: boolean, circleColor?: color, circleBorderColor?: color, stickColor?: color, selectColor?: color, selectPoints?: boolean, editPoints?: string | boolean, interactive?: boolean, strokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
1997
|
+
constructor(config: { color?: color | zimVee, thickness?: number, points?: number | any[], length?: number, controlLength?: number | zimVee, controlType?: string, lockControlType?: string, showControls?: boolean, lockControls?: boolean, handleSize?: number, allowToggle?: boolean, move?: boolean, ctrlclick?: boolean, dashed?: boolean | number[], onTop?: boolean, circleColor?: color, circleBorderColor?: color, stickColor?: color, selectColor?: color, selectPoints?: boolean, editPoints?: string | boolean, interactive?: boolean, strokeObj?: {}, style?: boolean, group?: string, inherit?: {} })
|
|
1974
1998
|
readonly shape: Shape
|
|
1975
1999
|
color: color
|
|
1976
2000
|
colorRange: number
|
|
@@ -1993,10 +2017,10 @@ declare namespace zim {
|
|
|
1993
2017
|
changeControl(config_or_index: number, type?: string, rect1X?: number, rect1Y?: number, rect2X?: number, rect2Y?: number, circleX?: number, circleY?: number, update?: boolean): this
|
|
1994
2018
|
changeControl(config: { index: number, type?: string, rect1X?: number, rect1Y?: number, rect2X?: number, rect2Y?: number, circleX?: number, circleY?: number, update?: boolean }): this
|
|
1995
2019
|
transformPoints(transformType: string, amount: number, x?: number, y?: number): this
|
|
1996
|
-
reversePoints(points: [
|
|
1997
|
-
appendPoints(original: [
|
|
1998
|
-
prependPoints(original: [
|
|
1999
|
-
splitPoints(points: [
|
|
2020
|
+
reversePoints(points: any[]): this
|
|
2021
|
+
appendPoints(original: any[], points: any[], controlType?: string): this
|
|
2022
|
+
prependPoints(original: any[], points: any[], controlType?: string): this
|
|
2023
|
+
splitPoints(points: any[], index?: number, trimEnds?: boolean): Squiggle
|
|
2000
2024
|
makeBlob(controlType?: string, mergeDist?: boolean): Blob
|
|
2001
2025
|
update(normalized?: boolean): this
|
|
2002
2026
|
showControls(): this
|
|
@@ -2038,16 +2062,16 @@ declare namespace zim {
|
|
|
2038
2062
|
// ZIM Blob is only available in the module using the zim namespace
|
|
2039
2063
|
|
|
2040
2064
|
export class Flare extends Container {
|
|
2041
|
-
constructor(config_or_color?: color, borderColor?: color, borderWidth?: number, crossAngle?: number, thickness?: number, thicknessA?: number, thicknessB?: number, pin?: number, startX?: number, startY?: number, lengths?: [
|
|
2042
|
-
constructor(config: { color?: color, borderColor?: color, borderWidth?: number, crossAngle?: number, thickness?: number, thicknessA?: number, thicknessB?: number, pin?: number, startX?: number, startY?: number, lengths?: [
|
|
2043
|
-
add(lengths?: [
|
|
2065
|
+
constructor(config_or_color?: color, borderColor?: color, borderWidth?: number, crossAngle?: number, thickness?: number, thicknessA?: number, thicknessB?: number, pin?: number, startX?: number, startY?: number, lengths?: number[], angles?: number[], anglesA?: number[], anglesB?: number[], anglesEnd?: number[], cross?: boolean, crossColors?: string[], close?: boolean, dashed?: boolean | number[], strokeObj?: {}, spineColor?: color, spineBorderWidth?: number, spineBorderColor?: color, spineDashed?: boolean, spineStrokeObj?: {}, closeColor?: color, closeBorderWidth?: number, closeBorderColor?: color, closeDashed?: boolean, closeStrokeObj?: {}, style?: boolean, group?: string, inherit?: {})
|
|
2066
|
+
constructor(config: { color?: color, borderColor?: color, borderWidth?: number, crossAngle?: number, thickness?: number, thicknessA?: number, thicknessB?: number, pin?: number, startX?: number, startY?: number, lengths?: number[], angles?: number[], anglesA?: number[], anglesB?: number[], anglesEnd?: number[], cross?: boolean, crossColors?: string[], close?: boolean, dashed?: boolean | number[], strokeObj?: {}, spineColor?: color, spineBorderWidth?: number, spineBorderColor?: color, spineDashed?: boolean, spineStrokeObj?: {}, closeColor?: color, closeBorderWidth?: number, closeBorderColor?: color, closeDashed?: boolean, closeStrokeObj?: {}, style?: boolean, group?: string, inherit?: {} })
|
|
2067
|
+
add(lengths?: number[], angles?: number[], anglesA?: number[], anglesB?: number[], anglesEnd?: number[], cross?: boolean, crossColors?: string[], close?: boolean): this
|
|
2044
2068
|
remake(): this
|
|
2045
2069
|
readonly shape: Shape
|
|
2046
2070
|
readonly spineShape: Shape
|
|
2047
2071
|
readonly closeShape: Shape
|
|
2048
2072
|
pin: number
|
|
2049
|
-
readonly points:
|
|
2050
|
-
readonly pinPoints:
|
|
2073
|
+
readonly points: {}[]
|
|
2074
|
+
readonly pinPoints: {}[]
|
|
2051
2075
|
color: color
|
|
2052
2076
|
colorRange: number
|
|
2053
2077
|
borderColor: color
|
|
@@ -2065,31 +2089,31 @@ declare namespace zim {
|
|
|
2065
2089
|
thicknessB: number
|
|
2066
2090
|
cross: boolean
|
|
2067
2091
|
close: boolean
|
|
2068
|
-
lengths: [
|
|
2069
|
-
angles: [
|
|
2070
|
-
anglesA: [
|
|
2071
|
-
anglesB: [
|
|
2072
|
-
anglesEnd: [
|
|
2073
|
-
crossColors: [
|
|
2092
|
+
lengths: number[]
|
|
2093
|
+
angles: number[]
|
|
2094
|
+
anglesA: number[]
|
|
2095
|
+
anglesB: number[]
|
|
2096
|
+
anglesEnd: number[]
|
|
2097
|
+
crossColors: string[]
|
|
2074
2098
|
}
|
|
2075
2099
|
|
|
2076
2100
|
export class MultiFlare extends Container {
|
|
2077
|
-
constructor(config_or_flares?: [
|
|
2078
|
-
constructor(config: { flares?: [
|
|
2079
|
-
add(flares: Flare | [
|
|
2080
|
-
remove(flares: Flare | [
|
|
2081
|
-
flares: [
|
|
2082
|
-
pins: [
|
|
2083
|
-
angles: [
|
|
2101
|
+
constructor(config_or_flares?: Flare[], pins?: number[], angles?: number[], endToEnd?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2102
|
+
constructor(config: { flares?: Flare[], pins?: number[], angles?: number[], endToEnd?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2103
|
+
add(flares: Flare | Flare[]): this
|
|
2104
|
+
remove(flares: Flare | Flare[]): this
|
|
2105
|
+
flares: Flare[]
|
|
2106
|
+
pins: number[]
|
|
2107
|
+
angles: number[]
|
|
2084
2108
|
endToEnd: boolean
|
|
2085
2109
|
}
|
|
2086
2110
|
|
|
2087
2111
|
export class FlareBox extends Container {
|
|
2088
|
-
constructor(config_or_width?: number, height?: number, color?: color, borderColor?: color, borderWidth?: number, flares?:
|
|
2089
|
-
constructor(config: { width?: number, height?: number, color?: color, borderColor?: color, borderWidth?: number, flares?:
|
|
2112
|
+
constructor(config_or_width?: number, height?: number, color?: color, borderColor?: color, borderWidth?: number, flares?: Flare | MultiFlare[] | Flare | MultiFlare, corners?: number[], pins?: number[], style?: boolean, group?: string, inherit?: {})
|
|
2113
|
+
constructor(config: { width?: number, height?: number, color?: color, borderColor?: color, borderWidth?: number, flares?: Flare | MultiFlare[] | Flare | MultiFlare, corners?: number[], pins?: number[], style?: boolean, group?: string, inherit?: {} })
|
|
2090
2114
|
setColorRange(color1: color, color2?: color): this
|
|
2091
2115
|
readonly multiFlare: MultiFlare
|
|
2092
|
-
readonly flares: [
|
|
2116
|
+
readonly flares: Flare[]
|
|
2093
2117
|
readonly backing: Rectangle
|
|
2094
2118
|
color: color
|
|
2095
2119
|
colorRange: number
|
|
@@ -2139,7 +2163,7 @@ declare namespace zim {
|
|
|
2139
2163
|
constructor(config: { label?: string | Label, path?: Squiggle | zim.Blob, percentAngle?: number, percents?: number[], showPath?: boolean, allowToggle?: boolean, interactive?: boolean, onTop?: boolean, rtl?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2140
2164
|
// ZIM Component Interface
|
|
2141
2165
|
// dispose():boolean // now added to Container, etc.
|
|
2142
|
-
setProps(obj: [
|
|
2166
|
+
setProps(obj: Label[], props: {}): this
|
|
2143
2167
|
enabled: boolean
|
|
2144
2168
|
// END ZIM Component Interface
|
|
2145
2169
|
toggle(state?: boolean): this
|
|
@@ -2160,7 +2184,7 @@ declare namespace zim {
|
|
|
2160
2184
|
constructor(config: { label?: string | Label, size?: number, font?: string, color?: color, radius?: number, flip?: boolean, spacing?: number, letterSpacing?: number, angles?: number[], showCircle?: boolean, arcColor?: color, arcBorderColor?: color, arcBorderWidth?: number, radiusSpread?: boolean, rtl?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2161
2185
|
// ZIM Component Interface
|
|
2162
2186
|
// dispose():boolean // now added to Container, etc.
|
|
2163
|
-
setProps(obj: [
|
|
2187
|
+
setProps(obj: Label[], props: {}): this
|
|
2164
2188
|
enabled: boolean
|
|
2165
2189
|
// END ZIM Component Interface
|
|
2166
2190
|
readonly text: string
|
|
@@ -2177,11 +2201,11 @@ declare namespace zim {
|
|
|
2177
2201
|
readonly outerRadius: number
|
|
2178
2202
|
}
|
|
2179
2203
|
export class LabelLetters extends Container implements zimComponent {
|
|
2180
|
-
constructor(config_or_label?: string | Label, align?: string, valign?: string, letterSpacing?: number, letterSpacings?: [
|
|
2181
|
-
constructor(config: { label?: string | Label, align?: string, valign?: string, letterSpacing?: number, letterSpacings?: [
|
|
2204
|
+
constructor(config_or_label?: string | Label, align?: string, valign?: string, letterSpacing?: number, letterSpacings?: number[], lineSpacing?: number, lineSpacings?: number[], lineHeight?: number, lineAlign?: string, lineValign?: string, cache?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2205
|
+
constructor(config: { label?: string | Label, align?: string, valign?: string, letterSpacing?: number, letterSpacings?: number[], lineSpacing?: number, lineSpacings?: number[], lineHeight?: number, lineAlign?: string, lineValign?: string, cache?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2182
2206
|
// ZIM Component Interface
|
|
2183
2207
|
// dispose():boolean // now added to Container, etc.
|
|
2184
|
-
setProps(obj: [
|
|
2208
|
+
setProps(obj: Label[], props: {}): this
|
|
2185
2209
|
enabled: boolean
|
|
2186
2210
|
// END ZIM Component Interface
|
|
2187
2211
|
toggle(state?: boolean): this
|
|
@@ -2194,7 +2218,7 @@ declare namespace zim {
|
|
|
2194
2218
|
constructor(config: { label?: string | Label, width?: number, size?: number, font?: string, color?: color, backgroundColor?: color, itemCache?: boolean, itemRegX?: number, itemRegY?: number, spacingH?: number, spacingV?: number, wrapperType?: string, align?: string, valign?: string, alignInner?: string, valignInner?: string, flip?: boolean, reverse?: boolean, bottomFull?: boolean, colSize?: number, rowSize?: number, height?: number, minSpreadNum?: number, minStretchNum?: number, percentVoidH?: number, offsetVoidH?: number, percentVoidV?: number, offsetVoidV?: number, minStretchFirst?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2195
2219
|
// ZIM Component Interface
|
|
2196
2220
|
// dispose():boolean // now added to Container, etc.
|
|
2197
|
-
setProps(obj: [
|
|
2221
|
+
setProps(obj: Label[], props: {}): this
|
|
2198
2222
|
enabled: boolean
|
|
2199
2223
|
// END ZIM Component Interface
|
|
2200
2224
|
toggle(state?: boolean): this
|
|
@@ -2211,8 +2235,8 @@ declare namespace zim {
|
|
|
2211
2235
|
// END ZIM Component Interface
|
|
2212
2236
|
}
|
|
2213
2237
|
export class Button extends Container implements zimComponent {
|
|
2214
|
-
constructor(config_or_width?: number | string, height?: number | string, label?: string | Label, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, borderColor?: color, borderWidth?: number, rollBorderColor?: color, downBorderColor?: color, backing?: DisplayObject, rollBacking?: DisplayObject, downBacking?: DisplayObject, icon?: DisplayObject, rollIcon?: DisplayObject, downIcon?: DisplayObject, corner?: number | any[], dashed?: boolean | [
|
|
2215
|
-
constructor(config: { width?: number | string, height?: number | string, label?: string | Label, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, borderColor?: color, borderWidth?: number, rollBorderColor?: color, downBorderColor?: color, backing?: DisplayObject, rollBacking?: DisplayObject, downBacking?: DisplayObject, icon?: DisplayObject, rollIcon?: DisplayObject, downIcon?: DisplayObject, corner?: number | any[], dashed?: boolean | [
|
|
2238
|
+
constructor(config_or_width?: number | string, height?: number | string, label?: string | Label, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, borderColor?: color, borderWidth?: number, rollBorderColor?: color, downBorderColor?: color, backing?: DisplayObject, rollBacking?: DisplayObject, downBacking?: DisplayObject, icon?: DisplayObject, rollIcon?: DisplayObject, downIcon?: DisplayObject, corner?: number | any[], dashed?: boolean | number[], shadowColor?: color, shadowBlur?: number, gradient?: number, gloss?: number, align?: string, valign?: string, indent?: number, indentH?: number, indentV?: number, hitPadding?: number, autoPadding?: number, autoPaddingH?: number, autoPaddingV?: number, rollPersist?: boolean, toggle?: string | boolean, toggleBackgroundColor?: color, rollToggleBackgroundColor?: color, downToggleBackgroundColor?: color, toggleColor?: color, rollToggleColor?: color, downToggleColor?: color, toggleBacking?: DisplayObject, rollToggleBacking?: DisplayObject, downToggleBacking?: DisplayObject, toggleIcon?: DisplayObject, rollToggleIcon?: DisplayObject, downToggleIcon?: DisplayObject, toggleEvent?: string, wait?: string, waitTime?: boolean, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, downWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, downWaitColor?: color, waitBacking?: DisplayObject, rollWaitBacking?: DisplayObject, downWaitBacking?: DisplayObject, waitIcon?: DisplayObject, rollWaitIcon?: DisplayObject, downWaitIcon?: DisplayObject, waitModal?: boolean, waitEnabled?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2239
|
+
constructor(config: { width?: number | string, height?: number | string, label?: string | Label, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, borderColor?: color, borderWidth?: number, rollBorderColor?: color, downBorderColor?: color, backing?: DisplayObject, rollBacking?: DisplayObject, downBacking?: DisplayObject, icon?: DisplayObject, rollIcon?: DisplayObject, downIcon?: DisplayObject, corner?: number | any[], dashed?: boolean | number[], shadowColor?: color, shadowBlur?: number, gradient?: number, gloss?: number, align?: string, valign?: string, indent?: number, indentH?: number, indentV?: number, hitPadding?: number, autoPadding?: number, autoPaddingH?: number, autoPaddingV?: number, rollPersist?: boolean, toggle?: string | boolean, toggleBackgroundColor?: color, rollToggleBackgroundColor?: color, downToggleBackgroundColor?: color, toggleColor?: color, rollToggleColor?: color, downToggleColor?: color, toggleBacking?: DisplayObject, rollToggleBacking?: DisplayObject, downToggleBacking?: DisplayObject, toggleIcon?: DisplayObject, rollToggleIcon?: DisplayObject, downToggleIcon?: DisplayObject, toggleEvent?: string, wait?: string, waitTime?: boolean, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, downWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, downWaitColor?: color, waitBacking?: DisplayObject, rollWaitBacking?: DisplayObject, downWaitBacking?: DisplayObject, waitIcon?: DisplayObject, rollWaitIcon?: DisplayObject, downWaitIcon?: DisplayObject, waitModal?: boolean, waitEnabled?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2216
2240
|
// ZIM Component Interface
|
|
2217
2241
|
// dispose():boolean // now added to Container, etc.
|
|
2218
2242
|
enabled: boolean
|
|
@@ -2313,8 +2337,8 @@ declare namespace zim {
|
|
|
2313
2337
|
valign: string
|
|
2314
2338
|
}
|
|
2315
2339
|
export class Panel extends Container implements zimComponent {
|
|
2316
|
-
constructor(config_or_width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label | zimVee, titleBarColor?: color | zimVee, titleBarBackroundColor?: color | zimVee, titleBarHeight?: number, backgroundColor?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {})
|
|
2317
|
-
constructor(config: { width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label | zimVee, titleBarColor?: color | zimVee, titleBarBackroundColor?: color | zimVee, titleBarHeight?: number, backgroundColor?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {} })
|
|
2340
|
+
constructor(config_or_width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label | zimVee, titleBarColor?: color | zimVee, titleBarBackroundColor?: color | zimVee, titleBarHeight?: number, backgroundColor?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, onTop?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2341
|
+
constructor(config: { width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label | zimVee, titleBarColor?: color | zimVee, titleBarBackroundColor?: color | zimVee, titleBarHeight?: number, backgroundColor?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, onTop?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2318
2342
|
// ZIM Component Interface
|
|
2319
2343
|
// dispose():boolean // now added to Container, etc.
|
|
2320
2344
|
enabled: boolean
|
|
@@ -2375,8 +2399,8 @@ declare namespace zim {
|
|
|
2375
2399
|
}
|
|
2376
2400
|
|
|
2377
2401
|
export class Layer extends Container implements zimComponent {
|
|
2378
|
-
constructor(config_or_width?: number, height?: number, titleBar?: string | number | Label, titleBarContainer?: Container, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, color?: color, rollColor?: color, selectedColor?: color, borderWidth?: number, borderColor?: color, dashed?: boolean | [
|
|
2379
|
-
constructor(config: { width?: number, height?: number, titleBar?: string | number | Label, titleBarContainer?: Container, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, color?: color, rollColor?: color, selectedColor?: color, borderWidth?: number, borderColor?: color, dashed?: boolean | [
|
|
2402
|
+
constructor(config_or_width?: number, height?: number, titleBar?: string | number | Label, titleBarContainer?: Container, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, color?: color, rollColor?: color, selectedColor?: color, borderWidth?: number, borderColor?: color, dashed?: boolean | number[], transformObject?: {}, titleBarWidth?: number, titleBarHeight?: number, titleBarDraggable?: string, close?: boolean, closeColor?: color, closeBackgroundColor?: color, closeIndicatorColor?: color, anchor?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2403
|
+
constructor(config: { width?: number, height?: number, titleBar?: string | number | Label, titleBarContainer?: Container, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, color?: color, rollColor?: color, selectedColor?: color, borderWidth?: number, borderColor?: color, dashed?: boolean | number[], transformObject?: {}, titleBarWidth?: number, titleBarHeight?: number, titleBarDraggable?: string, close?: boolean, closeColor?: color, closeBackgroundColor?: color, closeIndicatorColor?: color, anchor?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2380
2404
|
// ZIM Component Interface
|
|
2381
2405
|
// dispose():boolean // now added to Container, etc.
|
|
2382
2406
|
enabled: boolean
|
|
@@ -2455,8 +2479,8 @@ declare namespace zim {
|
|
|
2455
2479
|
static LabelInput(config: { text?: string | zimVee, size?: number, maxLength?: number, password?: string, selectionColor?: color, selectionAlpha?: number, blinkerColor?: color, blinkerSpeed?: 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, style?: boolean, group?: string, inherit?: {} }): Container
|
|
2456
2480
|
}
|
|
2457
2481
|
export class List extends zim.Window implements zimComponent {
|
|
2458
|
-
constructor(config_or_width?: number, height?: number, list?: any[]|{}, viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean, index?: number, resizeHandle?: boolean, resizeBoundary?: Boundary, resizeVisible?: boolean, drop?: boolean, dropTargets?: DisplayObject | [
|
|
2459
|
-
constructor(config: { width?: number, height?: number, list?: any[]|{}, viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean, index?: number, resizeHandle?: boolean, resizeBoundary?: Boundary, resizeVisible?: boolean, drop?: boolean, dropTargets?: DisplayObject | [
|
|
2482
|
+
constructor(config_or_width?: number, height?: number, list?: any[]|{}, viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean, index?: number, resizeHandle?: boolean, resizeBoundary?: Boundary, resizeVisible?: boolean, drop?: boolean, dropTargets?: DisplayObject | DisplayObject[], dropSelf?: boolean, dropCopy?: boolean, dropColor?: color, dropThickness?: number, dropScrollSpeed?: number, dropReticleAlpha?: number, dropHitTest?: string, dropFull?: boolean, dropSnap?: boolean, dropEnd?: boolean, dropScale?: number, dropWidth?: number, dropHeight?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2483
|
+
constructor(config: { width?: number, height?: number, list?: any[]|{}, viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean, index?: number, resizeHandle?: boolean, resizeBoundary?: Boundary, resizeVisible?: boolean, drop?: boolean, dropTargets?: DisplayObject | DisplayObject[], dropSelf?: boolean, dropCopy?: boolean, dropColor?: color, dropThickness?: number, dropScrollSpeed?: number, dropReticleAlpha?: number, dropHitTest?: string, dropFull?: boolean, dropSnap?: boolean, dropEnd?: boolean, dropScale?: number, dropWidth?: number, dropHeight?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2460
2484
|
// ZIM Component Interface
|
|
2461
2485
|
// dispose():boolean // now added to Container, etc.
|
|
2462
2486
|
enabled: boolean
|
|
@@ -2469,7 +2493,7 @@ declare namespace zim {
|
|
|
2469
2493
|
last(): this
|
|
2470
2494
|
openAtLevel(level: number): this
|
|
2471
2495
|
openAtId(idNum: number): this
|
|
2472
|
-
toggle(state?: boolean, index?:number | [
|
|
2496
|
+
toggle(state?: boolean, index?:number | number[]): this
|
|
2473
2497
|
static slider(label?: string | Label, min?: number, max?: number, val?: number, call?: Function, step?: number, obj?: any, property?: string, paddingLeft?: number, paddingRight?: number): Container
|
|
2474
2498
|
static checkBox(label?: string | Label, checked?: boolean, call?: Function, step?: number, obj?: any, property?: string, paddingLeft?: number, paddingRight?: number): Container
|
|
2475
2499
|
static colorPicker(label?: string | Label, color?: color, picker?: ColorPicker, call?: Function, step?: number, obj?: any, property?: string, paddingLeft?: number, paddingRight?: number): Container
|
|
@@ -2493,9 +2517,9 @@ declare namespace zim {
|
|
|
2493
2517
|
readonly itemsText: string[]
|
|
2494
2518
|
readonly length: number
|
|
2495
2519
|
readonly tabs: Tabs
|
|
2496
|
-
readonly checkBoxes: [
|
|
2520
|
+
readonly checkBoxes: CheckBox[]
|
|
2497
2521
|
drop: boolean
|
|
2498
|
-
dropTargets: [
|
|
2522
|
+
dropTargets: List[]
|
|
2499
2523
|
dropColor: color
|
|
2500
2524
|
readonly dropReticle: Rectangle
|
|
2501
2525
|
readonly dropItem: DisplayObject
|
|
@@ -2517,6 +2541,7 @@ declare namespace zim {
|
|
|
2517
2541
|
index: number
|
|
2518
2542
|
selectedIndex: number
|
|
2519
2543
|
value: string | number
|
|
2544
|
+
valueLite: string | number
|
|
2520
2545
|
currentValue: string | number
|
|
2521
2546
|
valueEvent: string | number
|
|
2522
2547
|
stepperArray: string[] | number[]
|
|
@@ -2566,8 +2591,8 @@ declare namespace zim {
|
|
|
2566
2591
|
readonly rangeAmount: number
|
|
2567
2592
|
}
|
|
2568
2593
|
export class Selector extends Container implements zimComponent {
|
|
2569
|
-
constructor(config_or_tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | [
|
|
2570
|
-
constructor(config: { tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | [
|
|
2594
|
+
constructor(config_or_tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | any[], dashed?: boolean | number[], padding?: number, paddingV?: number, speed?: number, diagonal?: boolean, dim?: boolean, multi?: boolean, keyArrows?: boolean, behind?: boolean, resizeScale?: number, index?: number, liveIndex?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2595
|
+
constructor(config: { tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | any[], dashed?: boolean | number[], padding?: number, paddingV?: number, speed?: number, diagonal?: boolean, dim?: boolean, multi?: boolean, keyArrows?: boolean, behind?: boolean, resizeScale?: number, index?: number, liveIndex?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2571
2596
|
// ZIM Component Interface
|
|
2572
2597
|
// dispose():boolean // now added to Container, etc.
|
|
2573
2598
|
enabled: boolean
|
|
@@ -2593,23 +2618,23 @@ declare namespace zim {
|
|
|
2593
2618
|
keyFocus: boolean
|
|
2594
2619
|
}
|
|
2595
2620
|
export class Slicer extends Window implements zimComponent {
|
|
2596
|
-
constructor(config_or_obj?: HTMLCanvasElement | DisplayObject, objScale?: number, slices?: [[]
|
|
2597
|
-
constructor(config: { obj?: HTMLCanvasElement | DisplayObject, objScale?: number, slices?: [[]
|
|
2621
|
+
constructor(config_or_obj?: HTMLCanvasElement | DisplayObject, objScale?: number, slices?: any[][], types?: any[][], titleBar?: string | Label, remember?: boolean, upload?: boolean, selection?: boolean, multiple?: boolean, proportion?: boolean, resize?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2622
|
+
constructor(config: { obj?: HTMLCanvasElement | DisplayObject, objScale?: number, slices?: any[][], types?: any[][], titleBar?: string | Label, remember?: boolean, upload?: boolean, selection?: boolean, multiple?: boolean, proportion?: boolean, resize?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2598
2623
|
setObject(newObj:HTMLCanvasElement | DisplayObject, scale?: number) : this
|
|
2599
|
-
updateLines(slices: [[]
|
|
2624
|
+
updateLines(slices : any[][]): this
|
|
2600
2625
|
setSlicerTypes(slicerTypes: SlicerTypes): this
|
|
2601
2626
|
clearSelection(): this
|
|
2602
2627
|
clear(): this
|
|
2603
2628
|
clone(): Slicer
|
|
2604
2629
|
readonly obj: HTMLCanvasElement | DisplayObject
|
|
2605
|
-
slices: [[]
|
|
2606
|
-
types: [[]
|
|
2607
|
-
exchange: [[[]
|
|
2630
|
+
slices : any[][]
|
|
2631
|
+
types : any[][]
|
|
2632
|
+
exchange : any[][][]
|
|
2608
2633
|
readonly selectedIndexH: number
|
|
2609
2634
|
readonly selectedIndexV: number
|
|
2610
2635
|
readonly currentLineH: Container
|
|
2611
2636
|
readonly currentLineV: Container
|
|
2612
|
-
readonly selection: [[]
|
|
2637
|
+
readonly selection : any[][]
|
|
2613
2638
|
readonly box: Rectangle
|
|
2614
2639
|
readonly trackH: Rectangle
|
|
2615
2640
|
readonly trackV: Rectangle
|
|
@@ -2708,8 +2733,8 @@ declare namespace zim {
|
|
|
2708
2733
|
keyEnabled: boolean
|
|
2709
2734
|
}
|
|
2710
2735
|
export class NumPad extends Container implements zimComponent {
|
|
2711
|
-
constructor(config_or_advanced?: boolean | string, titleBar?: string | Label, titleBarColor?: color, titleBarBackroundColor?: color, titleBarHeight?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], numberCorner?: number | any[], close?: boolean, closeColor?: color, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {})
|
|
2712
|
-
constructor(config: { advanced?: boolean | string, titleBar?: string | Label, titleBarColor?: color, titleBarBackroundColor?: color, titleBarHeight?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], numberCorner?: number | any[], close?: boolean, closeColor?: color, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {} })
|
|
2736
|
+
constructor(config_or_advanced?: boolean | string, titleBar?: string | Label, titleBarColor?: color, titleBarBackroundColor?: color, titleBarHeight?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], numberCorner?: number | any[], close?: boolean, closeColor?: color, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, onTop?:boolean, style?: boolean, group?: string, inherit?: {})
|
|
2737
|
+
constructor(config: { advanced?: boolean | string, titleBar?: string | Label, titleBarColor?: color, titleBarBackroundColor?: color, titleBarHeight?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], numberCorner?: number | any[], close?: boolean, closeColor?: color, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, onTop?:boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2713
2738
|
// ZIM Component Interface
|
|
2714
2739
|
// dispose():boolean // now added to Container, etc.
|
|
2715
2740
|
enabled: boolean
|
|
@@ -2761,8 +2786,8 @@ declare namespace zim {
|
|
|
2761
2786
|
readonly core: Circle
|
|
2762
2787
|
}
|
|
2763
2788
|
export class ColorPicker extends Container implements zimComponent {
|
|
2764
|
-
constructor(config_or_width?: number, colors?: string | [
|
|
2765
|
-
constructor(config: { width?: number, colors?: string | [
|
|
2789
|
+
constructor(config_or_width?: number, colors?: string | color[], cols?: number, spacing?: number, greyPicker?: boolean, alphaPicker?: boolean, startBackgroundColor?: color, draggable?: boolean, shadowColor?: color, shadowBlur?: number, buttonBar?: boolean, circles?: boolean, indicator?: boolean, backgroundColor?: color, keyArrows?: boolean, index?: number, selectedColor?: string, dropperTarget?: DisplayObject, spectrumCollapse?: boolean, spectrumMode?: boolean, spectrumClose?: boolean, spectrumOk?: boolean, spectrumTitle?: string, tolerancePicker?: boolean, collapsed?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2790
|
+
constructor(config: { width?: number, colors?: string | color[], cols?: number, spacing?: number, greyPicker?: boolean, alphaPicker?: boolean, startBackgroundColor?: color, draggable?: boolean, shadowColor?: color, shadowBlur?: number, buttonBar?: boolean, circles?: boolean, indicator?: boolean, backgroundColor?: color, keyArrows?: boolean, index?: number, selectedColor?: string, dropperTarget?: DisplayObject, spectrumCollapse?: boolean, spectrumMode?: boolean, spectrumClose?: boolean, spectrumOk?: boolean, spectrumTitle?: string, tolerancePicker?: boolean, collapsed?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2766
2791
|
// ZIM Component Interface
|
|
2767
2792
|
// dispose():boolean // now added to Container, etc.
|
|
2768
2793
|
enabled: boolean
|
|
@@ -2794,14 +2819,14 @@ declare namespace zim {
|
|
|
2794
2819
|
keyFocus: boolean
|
|
2795
2820
|
}
|
|
2796
2821
|
export class EmojiPicker extends Window implements zimComponent {
|
|
2797
|
-
constructor(config_or_width?: number, height?: number, emojis?: [
|
|
2798
|
-
constructor(config: { width?: number, height?: number, emojis?: [
|
|
2822
|
+
constructor(config_or_width?: number, height?: number, emojis?: string[], monochrome?: boolean, backgroundColor?: color, titleBar?: string, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, cache?: boolean, size?: number, collapse?: boolean, collapsedColor?: color, collapsed?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2823
|
+
constructor(config: { width?: number, height?: number, emojis?: string[], monochrome?: boolean, backgroundColor?: color, titleBar?: string, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, cache?: boolean, size?: number, collapse?: boolean, collapsedColor?: color, collapsed?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2799
2824
|
// ZIM Component Interface
|
|
2800
2825
|
// dispose():boolean // now added to Container, etc.
|
|
2801
2826
|
enabled: boolean
|
|
2802
2827
|
// END ZIM Component Interface
|
|
2803
2828
|
readonly selectedEmoji: Emoji
|
|
2804
|
-
readonly emojiData: [
|
|
2829
|
+
readonly emojiData: string[]
|
|
2805
2830
|
}
|
|
2806
2831
|
export class TextEditor extends Container implements zimComponent {
|
|
2807
2832
|
constructor(config_or_width?: number, color?: string, backgroundColor?: string, fieldColor?: string, fieldHeight?: number, textSize?: number, sizeList?: boolean, optionList?: boolean, colorList?: boolean, fontList?: boolean, live?: boolean, button?: Button, titleBar?: string, titleBarColor?: string, titleBarBackgroundColor?: string, titleBarHeight?: number, wrap?: boolean, limit?: number, scroll?: boolean, placeholder?: string, password?: boolean, borderColor?: string, borderWidth?: number, margin?: number, corner?: number, shadowColor?: string, shadowBlur?: number, draggable?: boolean, boundary?: Boundary, frame?: Frame, style?: boolean, group?: string, inherit?: {})
|
|
@@ -2824,8 +2849,8 @@ declare namespace zim {
|
|
|
2824
2849
|
readonly font: List
|
|
2825
2850
|
}
|
|
2826
2851
|
export class Keyboard extends Container implements zimComponent {
|
|
2827
|
-
constructor(config_or_labels?: Label[] | Label, backgroundColor?: color, color?: color, shiftBackgroundColor?: color, shiftHoldBackgroundColor?: color, placeBackgroundColor?: color, placeColor?: color, cursorColor?: color, shadeAlpha?: number, borderColor?: color, borderWidth?: number, margin?: number, corner?: number | any[], draggable?: boolean, placeClose?: boolean, shadowColor?: color, shadowBlur?: number, container?: Container, data?: [
|
|
2828
|
-
constructor(config: { labels?: Label[] | Label, backgroundColor?: color, color?: color, shiftBackgroundColor?: color, shiftHoldBackgroundColor?: color, placeBackgroundColor?: color, placeColor?: color, cursorColor?: color, shadeAlpha?: number, borderColor?: color, borderWidth?: number, margin?: number, corner?: number | any[], draggable?: boolean, placeClose?: boolean, shadowColor?: color, shadowBlur?: number, container?: Container, data?: [
|
|
2852
|
+
constructor(config_or_labels?: Label[] | Label, backgroundColor?: color, color?: color, shiftBackgroundColor?: color, shiftHoldBackgroundColor?: color, placeBackgroundColor?: color, placeColor?: color, cursorColor?: color, shadeAlpha?: number, borderColor?: color, borderWidth?: number, margin?: number, corner?: number | any[], draggable?: boolean, placeClose?: boolean, shadowColor?: color, shadowBlur?: number, container?: Container, data?: any[], place?: boolean, placeShiftH?: number, placeShiftV?: number, placeScale?: number, special?: string, rtl?: boolean, hardKeyboard?: boolean, layout?: string, numPadScale?: number, numPadDraggable?: boolean, numPadOnly?: boolean, numPadAdvanced?: boolean, maxLength?: number, numbersOnly?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2853
|
+
constructor(config: { labels?: Label[] | Label, backgroundColor?: color, color?: color, shiftBackgroundColor?: color, shiftHoldBackgroundColor?: color, placeBackgroundColor?: color, placeColor?: color, cursorColor?: color, shadeAlpha?: number, borderColor?: color, borderWidth?: number, margin?: number, corner?: number | any[], draggable?: boolean, placeClose?: boolean, shadowColor?: color, shadowBlur?: number, container?: Container, data?: any[], place?: boolean, placeShiftH?: number, placeShiftV?: number, placeScale?: number, special?: string, rtl?: boolean, hardKeyboard?: boolean, layout?: string, numPadScale?: number, numPadDraggable?: boolean, numPadOnly?: boolean, numPadAdvanced?: boolean, maxLength?: number, numbersOnly?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2829
2854
|
// ZIM Component Interface
|
|
2830
2855
|
// dispose():boolean // now added to Container, etc.
|
|
2831
2856
|
enabled: boolean
|
|
@@ -2869,34 +2894,34 @@ declare namespace zim {
|
|
|
2869
2894
|
readonly removedItem: DisplayObject
|
|
2870
2895
|
}
|
|
2871
2896
|
export class Connectors extends Container implements zimComponent {
|
|
2872
|
-
constructor(config_or_width?: number, height?: number, points
|
|
2873
|
-
constructor(config: { width?: number, height?: number, points
|
|
2897
|
+
constructor(config_or_width?: number, height?: number, points? : any[] | zim.Blob | Squiggle, node?: DisplayObject, line?: Line, linear?: boolean, linearWrap?: boolean, linearOrder?: boolean, num?: number, snapH?: number, snapV?: number, dropType?: string, dropArray?: number[], continuous?: boolean, startIndex?: number, duplicateLines?: boolean, deleteNode?: boolean, dblclick?: boolean, fullMove?: boolean, min?: number, max?: number, boundary?: Boundary | DisplayObject, expand?: number, nodeRollColor?: string, nodeRollBorderColor?: string, nodeSelectedColor?: string, nodeSelectedBorderColor?: string, baseColor?: string, baseBorderColor?: string, baseRollover?: string, rootLock?: boolean, grandChildren?: boolean, dblclickTime?: number, style?: boolean, group?: string, inherit?: {})
|
|
2898
|
+
constructor(config: { width?: number, height?: number, points? : any[] | zim.Blob | Squiggle, node?: DisplayObject, line?: Line, linear?: boolean, linearWrap?: boolean, linearOrder?: boolean, num?: number, snapH?: number, snapV?: number, dropType?: string, dropArray?: number[], continuous?: boolean, startIndex?: number, duplicateLines?: boolean, deleteNode?: boolean, dblclick?: boolean, fullMove?: boolean, min?: number, max?: number, boundary?: Boundary | DisplayObject, expand?: number, nodeRollColor?: string, nodeRollBorderColor?: string, nodeSelectedColor?: string, nodeSelectedBorderColor?: string, baseColor?: string, baseBorderColor?: string, baseRollover?: string, rootLock?: boolean, grandChildren?: boolean, dblclickTime?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2874
2899
|
// ZIM Component Interface
|
|
2875
2900
|
// dispose():boolean // now added to Container, etc.
|
|
2876
2901
|
enabled: boolean
|
|
2877
2902
|
// END ZIM Component Interface
|
|
2878
|
-
addNode(x: number|DisplayObject, y: number|[], startNode?:boolean, endNode?:boolean, startLength?:number, endLength?:number): this
|
|
2903
|
+
addNode(x: number|DisplayObject, y: number|any[], startNode?:boolean, endNode?:boolean, startLength?:number, endLength?:number): this
|
|
2879
2904
|
removeNode(node: DisplayObject): this
|
|
2880
2905
|
removeConnectors(): this
|
|
2881
2906
|
selectNode(node: DisplayObject, children?: boolean): this
|
|
2882
2907
|
getSteps(popup?: boolean): this
|
|
2883
|
-
setSteps(steps: []): this
|
|
2884
|
-
addBase(base: DisplayObject, baseInfo?: number | []): this
|
|
2908
|
+
setSteps(steps : any[]): this
|
|
2909
|
+
addBase(base: DisplayObject, baseInfo?: number | any[]): this
|
|
2885
2910
|
removeBase(base: DisplayObject): this
|
|
2886
|
-
setAvailableIndexes(indexes: number | [
|
|
2911
|
+
setAvailableIndexes(indexes: number | number[]): this
|
|
2887
2912
|
node: DisplayObject
|
|
2888
2913
|
creator: DisplayObject
|
|
2889
2914
|
line: Line
|
|
2890
|
-
readonly steps: []
|
|
2915
|
+
readonly steps : any[]
|
|
2891
2916
|
readonly nodes: Container
|
|
2892
2917
|
readonly lines: Container
|
|
2893
|
-
readonly points: []
|
|
2894
|
-
readonly selectedList: []
|
|
2895
|
-
readonly bases: []
|
|
2918
|
+
readonly points : any[]
|
|
2919
|
+
readonly selectedList : any[]
|
|
2920
|
+
readonly bases : any[]
|
|
2896
2921
|
}
|
|
2897
2922
|
export class Marquee extends Container implements zimComponent {
|
|
2898
|
-
constructor(config_or_width?: number, height?: number, items?: [
|
|
2899
|
-
constructor(config: { width?: number, height?: number, items?: [
|
|
2923
|
+
constructor(config_or_width?: number, height?: number, items?: any[], transition?: string, speed?: number, direction?: string, marginLeft?: number, marginRight?: number, marqueeType?: string, borderColor?: color, borderWidth?: number, refresh?: number, mix?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
2924
|
+
constructor(config: { width?: number, height?: number, items?: any[], transition?: string, speed?: number, direction?: string, marginLeft?: number, marginRight?: number, marqueeType?: string, borderColor?: color, borderWidth?: number, refresh?: number, mix?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2900
2925
|
// ZIM Component Interface
|
|
2901
2926
|
// dispose():boolean // now added to Container, etc.
|
|
2902
2927
|
enabled: boolean
|
|
@@ -2905,7 +2930,7 @@ declare namespace zim {
|
|
|
2905
2930
|
remove(obj: any): this
|
|
2906
2931
|
go(obj: any): this
|
|
2907
2932
|
pause(state?: boolean, immediate?: boolean): this
|
|
2908
|
-
load(data: string | [
|
|
2933
|
+
load(data: string | any[] | {}, path?: string): this
|
|
2909
2934
|
readonly content: DisplayObject
|
|
2910
2935
|
readonly pages: Pages
|
|
2911
2936
|
readonly button: Button
|
|
@@ -2924,8 +2949,8 @@ declare namespace zim {
|
|
|
2924
2949
|
readonly marqueeLoader: Queue
|
|
2925
2950
|
}
|
|
2926
2951
|
export class Carousel extends Container implements zimComponent {
|
|
2927
|
-
constructor(config_or_items?:
|
|
2928
|
-
constructor(config: { items?:
|
|
2952
|
+
constructor(config_or_items?: DisplayObject | string[], viewNum?: number, time?: number, spacing?: number, backgroundColor?: color, backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, arrowLeft?: Arrow, arrowRight?: Arrow, arrowGap?: number, valign?: string, ease?: string, swipe?: boolean, remember?: string | boolean, index?: number, continuous?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2953
|
+
constructor(config: { items?: DisplayObject | string[], viewNum?: number, time?: number, spacing?: number, backgroundColor?: color, backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, arrowLeft?: Arrow, arrowRight?: Arrow, arrowGap?: number, valign?: string, ease?: string, swipe?: boolean, remember?: string | boolean, index?: number, continuous?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2929
2954
|
// ZIM Component Interface
|
|
2930
2955
|
// dispose():boolean // now added to Container, etc.
|
|
2931
2956
|
enabled: boolean
|
|
@@ -2938,7 +2963,7 @@ declare namespace zim {
|
|
|
2938
2963
|
enableArrows(): this
|
|
2939
2964
|
index: number
|
|
2940
2965
|
selectedIndex: number
|
|
2941
|
-
readonly items: [
|
|
2966
|
+
readonly items: DisplayObject[]
|
|
2942
2967
|
readonly tile: Tile
|
|
2943
2968
|
readonly viewNum: number
|
|
2944
2969
|
readonly itemWidth: number
|
|
@@ -2970,7 +2995,7 @@ declare namespace zim {
|
|
|
2970
2995
|
makeCarousel():this
|
|
2971
2996
|
index: number
|
|
2972
2997
|
readonly selectedItem:DisplayObject
|
|
2973
|
-
items: [
|
|
2998
|
+
items: DisplayObject[]
|
|
2974
2999
|
curve: number
|
|
2975
3000
|
continuous: boolean
|
|
2976
3001
|
readonly swiper: Swiper
|
|
@@ -2978,8 +3003,8 @@ declare namespace zim {
|
|
|
2978
3003
|
readonly holder: Container
|
|
2979
3004
|
}
|
|
2980
3005
|
export class Loader extends Button implements zimComponent {
|
|
2981
|
-
constructor(config_or_width?: number | string, height?: number | string, label?: string | Label, type?: string, backgroundColor?: color, rollBackgroundColor?: color, color?: color, rollColor?: color, borderColor?: color, rollBorderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, hitPadding?: number, gradient?: number, gloss?: number, dashed?: boolean | [
|
|
2982
|
-
constructor(config: { width?: number | string, height?: number | string, label?: string | Label, type?: string, backgroundColor?: color, rollBackgroundColor?: color, color?: color, rollColor?: color, borderColor?: color, rollBorderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, hitPadding?: number, gradient?: number, gloss?: number, dashed?: boolean | [
|
|
3006
|
+
constructor(config_or_width?: number | string, height?: number | string, label?: string | Label, type?: string, backgroundColor?: color, rollBackgroundColor?: color, color?: color, rollColor?: color, borderColor?: color, rollBorderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, hitPadding?: number, gradient?: number, gloss?: number, dashed?: boolean | number[], backing?: DisplayObject, rollBacking?: DisplayObject, rollPersist?: boolean, icon?: DisplayObject, rollIcon?: DisplayObject, toggle?: string, rollToggle?: DisplayObject, toggleEvent?: string, frame?: Frame, multiple?: boolean, accept?: any[], style?: boolean, group?: string, inherit?: {})
|
|
3007
|
+
constructor(config: { width?: number | string, height?: number | string, label?: string | Label, type?: string, backgroundColor?: color, rollBackgroundColor?: color, color?: color, rollColor?: color, borderColor?: color, rollBorderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, hitPadding?: number, gradient?: number, gloss?: number, dashed?: boolean | number[], backing?: DisplayObject, rollBacking?: DisplayObject, rollPersist?: boolean, icon?: DisplayObject, rollIcon?: DisplayObject, toggle?: string, rollToggle?: DisplayObject, toggleEvent?: string, frame?: Frame, multiple?: boolean, accept?: any[], style?: boolean, group?: string, inherit?: {} })
|
|
2983
3008
|
// ZIM Component Interface
|
|
2984
3009
|
// dispose():boolean // now added to Container, etc.
|
|
2985
3010
|
enabled: boolean
|
|
@@ -2989,8 +3014,8 @@ declare namespace zim {
|
|
|
2989
3014
|
tag: HTMLInputElement
|
|
2990
3015
|
}
|
|
2991
3016
|
export class TextArea extends Container implements zimComponent {
|
|
2992
|
-
constructor(config_or_width?: number, height?: number, size?: number, padding?: number, color?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, dashed?: boolean | [
|
|
2993
|
-
constructor(config: { width?: number, height?: number, size?: number, padding?: number, color?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, dashed?: boolean | [
|
|
3017
|
+
constructor(config_or_width?: number, height?: number, size?: number, padding?: number, color?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, dashed?: boolean | number[], id?: string, placeholder?: string, readOnly?: boolean, spellCheck?: boolean, password?: boolean, wrap?: boolean, maxLength?: number, frame?: Frame, keyboardShift?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
3018
|
+
constructor(config: { width?: number, height?: number, size?: number, padding?: number, color?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, dashed?: boolean | number[], id?: string, placeholder?: string, readOnly?: boolean, spellCheck?: boolean, password?: boolean, wrap?: boolean, maxLength?: number, frame?: Frame, keyboardShift?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
2994
3019
|
// ZIM Component Interface
|
|
2995
3020
|
// dispose():boolean // now added to Container, etc.
|
|
2996
3021
|
enabled: boolean
|
|
@@ -3049,7 +3074,7 @@ declare namespace zim {
|
|
|
3049
3074
|
always: (stage?: Stage, mID?: string, tether?: any) => void,
|
|
3050
3075
|
alwaysOff: (stage?: Stage) => void,
|
|
3051
3076
|
add: (f: Function, stage?: Stage, mID?: string, tether?: any) => void,
|
|
3052
|
-
addWire: (obj:DisplayObject, data
|
|
3077
|
+
addWire: (obj:DisplayObject, data? : any[], mID?: string) => DisplayObject,
|
|
3053
3078
|
remove: (f: Function, mID?: string, tether?: any) => void,
|
|
3054
3079
|
removeWire: (obj?: DisplayObject, target?: DisplayObject, prop?: string, mID?: string, tether?: any) => void,
|
|
3055
3080
|
removeAll: (stage?: Stage, mID?: string, tether?: any) => void,
|
|
@@ -3105,10 +3130,10 @@ declare namespace zim {
|
|
|
3105
3130
|
backingOrbit: boolean
|
|
3106
3131
|
}
|
|
3107
3132
|
export class TextureActives extends createjs.EventDispatcher {
|
|
3108
|
-
constructor(config_or_actives: TextureActive | [
|
|
3109
|
-
constructor(config: { actives: TextureActive | [
|
|
3110
|
-
add(actives: TextureActive | [
|
|
3111
|
-
remove(actives: TextureActive | [
|
|
3133
|
+
constructor(config_or_actives: TextureActive | TextureActive[], threejs: any, zimThree?: any, renderer?: any, scene?: any, camera?: any, controls?: any, layers?: number, near?: number, far?: number, ignoreList?: any[], toggleKey?: string, color?: color, outerColor?: color, style?: boolean, group?: string, inherit?: {})
|
|
3134
|
+
constructor(config: { actives: TextureActive | TextureActive[], threejs: any, zimThree?: any, renderer?: any, scene?: any, camera?: any, controls?: any, layers?: number, near?: number, far?: number, ignoreList?: any[], toggleKey?: string, color?: color, outerColor?: color, style?: boolean, group?: string, inherit?: {} })
|
|
3135
|
+
add(actives: TextureActive | TextureActive[]): this
|
|
3136
|
+
remove(actives: TextureActive | TextureActive[]): this
|
|
3112
3137
|
addMesh(mesh: any, layer?: number): this
|
|
3113
3138
|
dispose(): void
|
|
3114
3139
|
readonly interactive: boolean
|
|
@@ -3278,9 +3303,9 @@ declare namespace zim {
|
|
|
3278
3303
|
dispose(): boolean
|
|
3279
3304
|
}
|
|
3280
3305
|
export class SelectionManager extends createjs.EventDispatcher {
|
|
3281
|
-
constructor(sets?: [
|
|
3306
|
+
constructor(sets?: SelectionSet[], multipleKey?: boolean, multipleSets?: boolean)
|
|
3282
3307
|
readonly type: string
|
|
3283
|
-
sets: [
|
|
3308
|
+
sets: SelectionSet[]
|
|
3284
3309
|
multipleKey: string
|
|
3285
3310
|
enabled: boolean
|
|
3286
3311
|
readonly multiple: boolean
|
|
@@ -3295,16 +3320,16 @@ declare namespace zim {
|
|
|
3295
3320
|
export class Bind {
|
|
3296
3321
|
constructor(config_or_connection?: string, bindType?: string, master?: string | number, masterFilter?: Function, couple?: boolean, smartDecimals?: boolean, report?: boolean, setDefault?: boolean)
|
|
3297
3322
|
constructor(config: { connection?: string, bindType?: string, master?: string | number, masterFilter?: Function, couple?: boolean, smartDecimals?: boolean, report?: boolean, setDefault?: boolean })
|
|
3298
|
-
add(config_or_id: string, obj: DisplayObject, props?: string | [
|
|
3299
|
-
add(config: { id: string, obj: DisplayObject, props?: string | [
|
|
3300
|
-
remove(config_or_targets?: string, props?: string | [
|
|
3301
|
-
remove(config: { targets?: string, props?: string | [
|
|
3302
|
-
from(config_or_call?: Function, targets?: DisplayObject | string |
|
|
3303
|
-
from(config: { call?: Function, targets?: DisplayObject | string |
|
|
3304
|
-
to(config_or_targets?: DisplayObject | string |
|
|
3305
|
-
to(config: { targets?: DisplayObject | string |
|
|
3306
|
-
toLock(config_or_targets?: DisplayObject | string |
|
|
3307
|
-
toLock(config: { targets?: DisplayObject | string |
|
|
3323
|
+
add(config_or_id: string, obj: DisplayObject, props?: string | string[], extra?: string | number, filter?: Function): this
|
|
3324
|
+
add(config: { id: string, obj: DisplayObject, props?: string | string[], extra?: string | number, filter?: Function }): this
|
|
3325
|
+
remove(config_or_targets?: string, props?: string | string[], extra?: string | number, filter?: Function, removeConnectionData?: boolean, call?: Function): this
|
|
3326
|
+
remove(config: { targets?: string, props?: string | string[], extra?: string | number, filter?: Function, removeConnectionData?: boolean, call?: Function }): this
|
|
3327
|
+
from(config_or_call?: Function, targets?: DisplayObject | string | DisplayObject | string[], props?: string | string[], extra?: string | number, filter?: Function): this
|
|
3328
|
+
from(config: { call?: Function, targets?: DisplayObject | string | DisplayObject | string[], props?: string | string[], extra?: string | number, filter?: Function }): this
|
|
3329
|
+
to(config_or_targets?: DisplayObject | string | DisplayObject | string[], props?: string | string[], extra?: string | number, filter?: Function, smartDecimals?: boolean, call?: Function): this
|
|
3330
|
+
to(config: { targets?: DisplayObject | string | DisplayObject | string[], props?: string | string[], extra?: string | number, filter?: Function, smartDecimals?: boolean, call?: Function }): this
|
|
3331
|
+
toLock(config_or_targets?: DisplayObject | string | DisplayObject | string[], props?: string | string[], extra?: string | number, filter?: Function, smartDecimals?: boolean, call?: Function): this
|
|
3332
|
+
toLock(config: { targets?: DisplayObject | string | DisplayObject | string[], props?: string | string[], extra?: string | number, filter?: Function, smartDecimals?: boolean, call?: Function }): this
|
|
3308
3333
|
toUnique(): this
|
|
3309
3334
|
stop(): this
|
|
3310
3335
|
report(): this
|
|
@@ -3325,7 +3350,7 @@ declare namespace zim {
|
|
|
3325
3350
|
stopped: boolean
|
|
3326
3351
|
ajax: Ajax
|
|
3327
3352
|
bindings: {}
|
|
3328
|
-
readonly ids: [
|
|
3353
|
+
readonly ids: string[]
|
|
3329
3354
|
objIDs: Dictionary
|
|
3330
3355
|
toIDs: {}
|
|
3331
3356
|
fromIDs: {}
|
|
@@ -3364,7 +3389,7 @@ declare namespace zim {
|
|
|
3364
3389
|
constructor(config: { obj: DisplayObject | zimVee, cols?: number, rows?: number, spacingH?: number, spacingV?: number, unique?: boolean, width?: number, height?: number, squeezeH?: boolean, squeezeV?: boolean, colSize?: number | zimVee, rowSize?: number | zimVee, align?: string | zimVee, valign?: string | zimVee, count?: number, mirrorH?: boolean, mirrorV?: boolean, snapToPixel?: boolean, clone?: boolean, events?: boolean, exact?: boolean, scaleToH?: number | zimVee, scaleToV?: number | zimVee, scaleToType?: string | zimVee, backgroundColor?: color | zimVee, backing?: DisplayObject | zimVee, backdropColor?: color | zimVee, backdropPadding?: number, backdropPaddingH?: number, backdropPaddingV?: number, mat?: DisplayObject, style?: boolean, group?: string, inherit?: {} })
|
|
3365
3390
|
remake(items?: any[], newSpacingH?: number, newSpacingV?: number, newCount?: number, newCols?: number, newRows?: number): this
|
|
3366
3391
|
resize(width?: number, height?: number): this
|
|
3367
|
-
setProps(obj: [], props: {}): this
|
|
3392
|
+
setProps(obj : any[], props: {}): this
|
|
3368
3393
|
itemUnderPoint(x: number, y: number, ignoreSpacing?: boolean): DisplayObject
|
|
3369
3394
|
readonly type: string
|
|
3370
3395
|
readonly items: any[]
|
|
@@ -3386,11 +3411,11 @@ declare namespace zim {
|
|
|
3386
3411
|
readonly group: string
|
|
3387
3412
|
}
|
|
3388
3413
|
export class Pack extends Container {
|
|
3389
|
-
constructor(config_or_width: number, height?: number, items?: [
|
|
3390
|
-
constructor(config: { width: number, height?: number, items?: [
|
|
3414
|
+
constructor(config_or_width: number, height?: number, items?: DisplayObject[], spacingH?: number, spacingV?: number, flatten?: boolean, direction?: string, lock?: boolean, backgroundColor?: color, align?: string, valign?: string, lastAlign?: string, paddingH?: number, paddingV?: number, dragOrder?: boolean, dragColor?: color, dragThickness?: number, dragDashed?: boolean, reverse?: boolean, funnel?: boolean, showPacking?: boolean, order?: any[], style?: boolean, group?: string, inherit?: {})
|
|
3415
|
+
constructor(config: { width: number, height?: number, items?: DisplayObject[], spacingH?: number, spacingV?: number, flatten?: boolean, direction?: string, lock?: boolean, backgroundColor?: color, align?: string, valign?: string, lastAlign?: string, paddingH?: number, paddingV?: number, dragOrder?: boolean, dragColor?: color, dragThickness?: number, dragDashed?: boolean, reverse?: boolean, funnel?: boolean, showPacking?: boolean, order?: any[], style?: boolean, group?: string, inherit?: {} })
|
|
3391
3416
|
getOrder(popup?: boolean): this
|
|
3392
|
-
setOrder(order: [
|
|
3393
|
-
addAt(items: DisplayObject | [
|
|
3417
|
+
setOrder(order: any[]): this
|
|
3418
|
+
addAt(items: DisplayObject | DisplayObject[], index?: number): this
|
|
3394
3419
|
removeAt(number?: number, index?: number): this
|
|
3395
3420
|
readonly type: string
|
|
3396
3421
|
readonly items: any[]
|
|
@@ -3410,8 +3435,8 @@ declare namespace zim {
|
|
|
3410
3435
|
readonly beacon: Rectangle
|
|
3411
3436
|
}
|
|
3412
3437
|
export class Beads extends Container {
|
|
3413
|
-
constructor(config_or_path?: Blob | Squiggle, obj?: DisplayObject | zimVee, count?: number, angle?: number, startPercent?: number, percent?: number, percents?: [
|
|
3414
|
-
constructor(config: { path?: Blob | Squiggle, obj?: DisplayObject | zimVee, count?: number, angle?: number, startPercent?: number, percent?: number, percents?: [
|
|
3438
|
+
constructor(config_or_path?: Blob | Squiggle, obj?: DisplayObject | zimVee, count?: number, angle?: number, startPercent?: number, percent?: number, percents?: number[], height?: number, onTop?: boolean, showControls?: boolean, visible?: boolean, interactive?: boolean, clone?: boolean, group?: string, style?: boolean, inherit?: {})
|
|
3439
|
+
constructor(config: { path?: Blob | Squiggle, obj?: DisplayObject | zimVee, count?: number, angle?: number, startPercent?: number, percent?: number, percents?: number[], height?: number, onTop?: boolean, showControls?: boolean, visible?: boolean, interactive?: boolean, clone?: boolean, group?: string, style?: boolean, inherit?: {} })
|
|
3415
3440
|
resize(): this
|
|
3416
3441
|
readonly type: string
|
|
3417
3442
|
readonly path: Blob | Squiggle
|
|
@@ -3419,6 +3444,14 @@ declare namespace zim {
|
|
|
3419
3444
|
percents: number[]
|
|
3420
3445
|
readonly group: string
|
|
3421
3446
|
}
|
|
3447
|
+
export class Bullets extends Tile {
|
|
3448
|
+
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?: {})
|
|
3449
|
+
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?: {} })
|
|
3450
|
+
readonly type: string
|
|
3451
|
+
readonly list: string|number[]
|
|
3452
|
+
readonly bulletType: string
|
|
3453
|
+
readonly group: string
|
|
3454
|
+
}
|
|
3422
3455
|
export class BlurEffect extends createjs.BlurFilter {
|
|
3423
3456
|
constructor(config_or_blurX?: number | zimVee, blurY?: number | zimVee, quality?: number | zimVee, style?: boolean, group?: string, inherit?: {})
|
|
3424
3457
|
constructor(config: { blurX?: number | zimVee, blurY?: number | zimVee, quality?: number | zimVee, style?: boolean, group?: string, inherit?: {} })
|
|
@@ -3477,8 +3510,8 @@ declare namespace zim {
|
|
|
3477
3510
|
constructor(config: { mask?: DisplayObject, style?: boolean, group?: string, inherit?: {} })
|
|
3478
3511
|
}
|
|
3479
3512
|
export class Pixel extends Bitmap {
|
|
3480
|
-
constructor(config_or_obj?: DisplayObject, amount?: number, amountY?: number, blur?: number, dynamic?: boolean, blendmode?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, expand?: boolean | [
|
|
3481
|
-
constructor(config: { obj?: DisplayObject, amount?: number, amountY?: number, blur?: number, dynamic?: boolean, blendmode?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, expand?: boolean | [
|
|
3513
|
+
constructor(config_or_obj?: DisplayObject, amount?: number, amountY?: number, blur?: number, dynamic?: boolean, blendmode?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, expand?: boolean | number[], amountFactor?: number, blurFactor?: number, style?: boolean, group?: string, inherit?: {})
|
|
3514
|
+
constructor(config: { obj?: DisplayObject, amount?: number, amountY?: number, blur?: number, dynamic?: boolean, blendmode?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, expand?: boolean | number[], amountFactor?: number, blurFactor?: number, style?: boolean, group?: string, inherit?: {} })
|
|
3482
3515
|
update(): this
|
|
3483
3516
|
amount: number
|
|
3484
3517
|
amountY: number
|
|
@@ -3487,8 +3520,8 @@ declare namespace zim {
|
|
|
3487
3520
|
blurFactor: number
|
|
3488
3521
|
}
|
|
3489
3522
|
export class Perspective extends Container {
|
|
3490
|
-
constructor(config_or_obj?: DisplayObject|zimVee, points?:
|
|
3491
|
-
constructor(config: { obj?: DisplayObject|zimVee, points?:
|
|
3523
|
+
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?: {})
|
|
3524
|
+
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?: {} })
|
|
3492
3525
|
selectCorner(index?: number, state?: boolean): Circle
|
|
3493
3526
|
selectSide(index?: number, state?: boolean): Circle
|
|
3494
3527
|
updateCorner(controlObj?: Circle, refresh?: boolean): Circle
|
|
@@ -3537,20 +3570,20 @@ declare namespace zim {
|
|
|
3537
3570
|
readonly back: DisplayObject
|
|
3538
3571
|
}
|
|
3539
3572
|
export class Book extends Container {
|
|
3540
|
-
constructor(config_or_width?: number, height?: number, pages?: [
|
|
3541
|
-
constructor(config: { width?: number, height?: number, pages?: [
|
|
3573
|
+
constructor(config_or_width?: number, height?: number, pages?: DisplayObject[], startPage?: number, rollUp?: boolean | number, radius?: number, backgroundColor?: color, arrows?: boolean, handleHTML?: boolean)
|
|
3574
|
+
constructor(config: { width?: number, height?: number, pages?: DisplayObject[], startPage?: number, rollUp?: boolean | number, radius?: number, backgroundColor?: color, arrows?: boolean, handleHTML?: boolean })
|
|
3542
3575
|
nextPage(time?: number): this
|
|
3543
3576
|
prevPage(time?: number): this
|
|
3544
3577
|
gotoPage(num?: number, time?: number): this
|
|
3545
3578
|
page: number
|
|
3546
3579
|
readonly direction: string
|
|
3547
3580
|
readonly lastPage: number
|
|
3548
|
-
readonly pages: [
|
|
3581
|
+
readonly pages: DisplayObject[]
|
|
3549
3582
|
readonly moving: boolean
|
|
3550
3583
|
}
|
|
3551
3584
|
export class Scrambler extends Container implements zimComponent {
|
|
3552
|
-
constructor(config_or_tile?: Tile, keys?: [
|
|
3553
|
-
constructor(config: { tile?: Tile, keys?: [
|
|
3585
|
+
constructor(config_or_tile?: Tile, keys?: any[], keyProperty?: string, scramble?: boolean, time?: number, wait?: number, num?: number, shadowColor?: string, shadowBlur?: number, swap?: boolean, swapLock?: boolean, style?: boolean, group?: string, inherit?: {})
|
|
3586
|
+
constructor(config: { tile?: Tile, keys?: any[], keyProperty?: string, scramble?: boolean, time?: number, wait?: number, num?: number, shadowColor?: string, shadowBlur?: number, swap?: boolean, swapLock?: boolean, style?: boolean, group?: string, inherit?: {} })
|
|
3554
3587
|
// ZIM Component Interface
|
|
3555
3588
|
// dispose():boolean // now added to Container, etc.
|
|
3556
3589
|
enabled: boolean
|
|
@@ -3564,12 +3597,12 @@ declare namespace zim {
|
|
|
3564
3597
|
update(): this
|
|
3565
3598
|
readonly tile: Tile
|
|
3566
3599
|
readonly complete: boolean
|
|
3567
|
-
readonly starts: [
|
|
3568
|
-
order: [
|
|
3600
|
+
readonly starts: number[]
|
|
3601
|
+
order: number[]
|
|
3569
3602
|
}
|
|
3570
3603
|
export class Shuffler extends Container implements zimComponent {
|
|
3571
|
-
constructor(config_or_tile?: Tile, spacing?: number, offset?: number, vertical?: boolean, formatObj?: {}, damp?: number, keys?: [
|
|
3572
|
-
constructor(config: { tile?: Tile, spacing?: number, offset?: number, vertical?: boolean, formatObj?: {}, damp?: number, keys?: [
|
|
3604
|
+
constructor(config_or_tile?: Tile, spacing?: number, offset?: number, vertical?: boolean, formatObj?: {}, damp?: number, keys?: any[], keyProperty?: string, shuffle?: boolean, time?: number, wait?: number, num?: number, shadowColor?: string, shadowBlur?: number, cache?: boolean, offsetOne?: number, offsetTwo?: number, style?: boolean, group?: string, inherit?: {})
|
|
3605
|
+
constructor(config: { tile?: Tile, spacing?: number, offset?: number, vertical?: boolean, formatObj?: {}, damp?: number, keys?: any[], keyProperty?: string, shuffle?: boolean, time?: number, wait?: number, num?: number, shadowColor?: string, shadowBlur?: number, cache?: boolean, offsetOne?: number, offsetTwo?: number, style?: boolean, group?: string, inherit?: {} })
|
|
3573
3606
|
// ZIM Component Interface
|
|
3574
3607
|
// dispose():boolean // now added to Container, etc.
|
|
3575
3608
|
enabled: boolean
|
|
@@ -3582,8 +3615,8 @@ declare namespace zim {
|
|
|
3582
3615
|
format(formatObj: {}): this
|
|
3583
3616
|
readonly tile: Tile
|
|
3584
3617
|
readonly complete: boolean
|
|
3585
|
-
readonly starts: [
|
|
3586
|
-
order: [
|
|
3618
|
+
readonly starts: number[]
|
|
3619
|
+
order: number[]
|
|
3587
3620
|
}
|
|
3588
3621
|
export class Scroller extends createjs.EventDispatcher {
|
|
3589
3622
|
constructor(config_or_backing: DisplayObject, speed?: number, direction?: number, horizontal?: boolean, gapFix?: number, stage?: Stage, container?: Stage | DisplayObject)
|
|
@@ -3615,15 +3648,15 @@ declare namespace zim {
|
|
|
3615
3648
|
scaleY: number
|
|
3616
3649
|
}
|
|
3617
3650
|
export class Accelerator extends createjs.EventDispatcher {
|
|
3618
|
-
constructor(objects: Scroller | Dynamo |
|
|
3619
|
-
add(objects: Scroller | Dynamo |
|
|
3620
|
-
remove(objects: Scroller | Dynamo |
|
|
3651
|
+
constructor(objects: Scroller | Dynamo | Scroller | Dynamo[])
|
|
3652
|
+
add(objects: Scroller | Dynamo | Scroller | Dynamo[]): this
|
|
3653
|
+
remove(objects: Scroller | Dynamo | Scroller | Dynamo[]): this
|
|
3621
3654
|
pause(state: boolean, time: number, frameNumber: number): void
|
|
3622
3655
|
dispose(): boolean
|
|
3623
3656
|
readonly type: string
|
|
3624
3657
|
percentSpeed: number
|
|
3625
3658
|
readonly paused: boolean
|
|
3626
|
-
items:
|
|
3659
|
+
items: Scroller | Dynamo[]
|
|
3627
3660
|
}
|
|
3628
3661
|
export class Swiper extends createjs.EventDispatcher {
|
|
3629
3662
|
constructor(config_or_swipeOn: Stage | DisplayObject, target: Object, property: string, sensitivity?: number, swiperType?: string, min?: number, max?: number, damp?: number, integer?: boolean, factor?: number, pauseTime?: number, otherSwiper?: Swiper)
|
|
@@ -3641,8 +3674,8 @@ declare namespace zim {
|
|
|
3641
3674
|
enabled: boolean
|
|
3642
3675
|
}
|
|
3643
3676
|
export class MotionController extends createjs.EventDispatcher {
|
|
3644
|
-
constructor(config_or_target?: DisplayObject, type?: string, speed?: number, axis?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, map?:
|
|
3645
|
-
constructor(config: { target?: DisplayObject, type?: string, speed?: number, axis?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, map?:
|
|
3677
|
+
constructor(config_or_target?: DisplayObject, type?: string, speed?: number, axis?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, map?: number | number[][], diagonal?: boolean, damp?: number, flip?: string, orient?: boolean, constant?: boolean, firstPerson?: boolean, turnSpeed?: number, moveThreshold?: number, stickThreshold?: number, container?: Stage | StageGL | Container, localBounds?: boolean, mouseMoveOutside?: boolean, mousedownIncludes?: DisplayObject[], minPercentSpeed?: number, maxPercentSpeed?: number, dampKeyup?: number, rotate?: boolean, mouseOutside?: boolean, penDown?: boolean, upTime?: number)
|
|
3678
|
+
constructor(config: { target?: DisplayObject, type?: string, speed?: number, axis?: string, boundary?: Boundary | createjs.Rectangle | { x: number, y: number, width: number, height: number }, map?: number | number[][], diagonal?: boolean, damp?: number, flip?: string, orient?: boolean, constant?: boolean, firstPerson?: boolean, turnSpeed?: number, moveThreshold?: number, stickThreshold?: number, container?: Stage | StageGL | Container, localBounds?: boolean, mouseMoveOutside?: boolean, mousedownIncludes?: DisplayObject[], minPercentSpeed?: number, maxPercentSpeed?: number, dampKeyup?: number, rotate?: boolean, mouseOutside?: boolean, penDown?: boolean, upTime?: number })
|
|
3646
3679
|
immediate(x: number, y: number): void
|
|
3647
3680
|
convert(x: number, y: number): void
|
|
3648
3681
|
pause(state?: boolean, time?: number): this
|
|
@@ -3744,10 +3777,10 @@ declare namespace zim {
|
|
|
3744
3777
|
readonly currentStrokeWidth: number
|
|
3745
3778
|
readonly currentX: number
|
|
3746
3779
|
readonly currentY: number
|
|
3747
|
-
linePoints: []
|
|
3780
|
+
linePoints : any[]
|
|
3748
3781
|
readonly paused: boolean
|
|
3749
|
-
stack: []
|
|
3750
|
-
colorStrokeStack: []
|
|
3782
|
+
stack : any[]
|
|
3783
|
+
colorStrokeStack : any[]
|
|
3751
3784
|
}
|
|
3752
3785
|
export class Emitter extends Container {
|
|
3753
3786
|
constructor(config_or_obj?: DisplayObject | zimVee, width?: number, height?: number, interval?: number | zimVee, num?: number | zimVee, life?: number | zimVee, fade?: boolean, shrink?: boolean, decayTime?: number, decayStart?: number, trace?: boolean, traceFadeTime?: number, traceShiftX?: number, traceShiftY?: number, angle?: number | zimVee, force?: number | zimVee, gravity?: number, wind?: number, layers?: string, animation?: {} | zimVee, random?: {}, horizontal?: boolean, vertical?: boolean, sink?: DisplayObject | { x: number, y: number }, sinkForce?: number, cache?: boolean, events?: boolean, startPaused?: boolean, pool?: boolean, poolMin?: number, particles?: Container, style?: boolean, group?: string, inherit?: {})
|
|
@@ -3848,10 +3881,10 @@ declare namespace zim {
|
|
|
3848
3881
|
static note(note: string): void
|
|
3849
3882
|
static wave(a: string | any, b?: any): void
|
|
3850
3883
|
static drawWave(shape?: string, color?: color, thickness?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number, padding?: number, paddingV?: number): Container
|
|
3851
|
-
static readonly notes: [
|
|
3852
|
-
static readonly major: [
|
|
3853
|
-
static readonly minor: [
|
|
3854
|
-
static readonly shapes: [
|
|
3884
|
+
static readonly notes: string[]
|
|
3885
|
+
static readonly major: string[]
|
|
3886
|
+
static readonly minor: string[]
|
|
3887
|
+
static readonly shapes: string[]
|
|
3855
3888
|
volume: number
|
|
3856
3889
|
frequency: number
|
|
3857
3890
|
}
|
|
@@ -3868,7 +3901,7 @@ declare namespace zim {
|
|
|
3868
3901
|
constructor(config_or_gravity?: number, borders?: Boundary | {}, scroll?: boolean, frame?: Frame)
|
|
3869
3902
|
constructor(config: { gravity?: number, borders?: Boundary | {}, scroll?: boolean, frame?: Frame })
|
|
3870
3903
|
borders(boundary?: Boundary | {}): void
|
|
3871
|
-
drag(array?: [
|
|
3904
|
+
drag(array?: any[]): void
|
|
3872
3905
|
noDrag(): void
|
|
3873
3906
|
pause(type?:boolean): void;
|
|
3874
3907
|
join(obj1: DisplayObject, obj2: DisplayObject, point1?: Point | {}, point2?: Point | {}, minAngle?: number, maxAngle?: number, type?: string): any
|
|
@@ -3894,8 +3927,8 @@ declare namespace zim {
|
|
|
3894
3927
|
readonly borderRight: any
|
|
3895
3928
|
}
|
|
3896
3929
|
export class Timeline extends Container {
|
|
3897
|
-
constructor(config_or_objects?: DisplayObject, width?: number, startPaused?: boolean, barColor?: color, buttonColor?: color, themeColor?: color, corner?: number | [
|
|
3898
|
-
constructor(config: { objects?: DisplayObject, width?: number, startPaused?: boolean, barColor?: color, buttonColor?: color, themeColor?: color, corner?: number | [
|
|
3930
|
+
constructor(config_or_objects?: DisplayObject, width?: number, startPaused?: boolean, barColor?: color, buttonColor?: color, themeColor?: color, corner?: number | any[], ticks?: boolean, damp?: number | boolean, loop?: boolean, noLoop?: boolean, call?: Function, style?: boolean, group?: string, inherit?: {})
|
|
3931
|
+
constructor(config: { objects?: DisplayObject, width?: number, startPaused?: boolean, barColor?: color, buttonColor?: color, themeColor?: color, corner?: number | any[], ticks?: boolean, damp?: number | boolean, loop?: boolean, noLoop?: boolean, call?: Function, style?: boolean, group?: string, inherit?: {} })
|
|
3899
3932
|
setThemeColor(color?: color): this
|
|
3900
3933
|
readonly backing: Rectangle
|
|
3901
3934
|
readonly shade: Rectangle
|
|
@@ -3939,10 +3972,10 @@ declare namespace zim {
|
|
|
3939
3972
|
readonly isLoading: boolean
|
|
3940
3973
|
}
|
|
3941
3974
|
export class Frame extends createjs.EventDispatcher {
|
|
3942
|
-
constructor(config_or_scaling?: string, width?: number, height?: number, color?: color, outerColor?: color, ready?: Function, assets?:
|
|
3943
|
-
constructor(config: { scaling?: string, width?: number, height?: number, color?: color, outerColor?: color, ready?: Function, assets?:
|
|
3944
|
-
loadAssets(config_or_assets:
|
|
3945
|
-
loadAssets(config: { assets:
|
|
3975
|
+
constructor(config_or_scaling?: string, width?: number, height?: number, color?: color, outerColor?: color, ready?: Function, assets?: string | {}[] | {}, path?: string, progress?: Waiter | ProgressBar, ticker?: Function, rollover?: boolean, touch?: boolean, scrollTop?: boolean, align?: string, valign?: string, canvasID?: string, rollPerSecond?: number, delay?: number, canvasCheck?: boolean, gpu?: boolean, gpuObj?: boolean, nextFrame?: Frame, nextStage?: Stage, allowDefault?: boolean, loadFailObj?: DisplayObject, sensors?: boolean, retina?: boolean, mouseMoveOutside?: boolean, captureMouse?: boolean, shim?: {}, maxConnections?: number, maxNum?: number, singleTouch?: boolean)
|
|
3976
|
+
constructor(config: { scaling?: string, width?: number, height?: number, color?: color, outerColor?: color, ready?: Function, assets?: string | {}[] | {}, path?: string, progress?: Waiter | ProgressBar, ticker?: Function, rollover?: boolean, touch?: boolean, scrollTop?: boolean, align?: string, valign?: string, canvasID?: string, rollPerSecond?: number, delay?: number, canvasCheck?: boolean, gpu?: boolean, gpuObj?: boolean, nextFrame?: Frame, nextStage?: Stage, allowDefault?: boolean, loadFailObj?: DisplayObject, sensors?: boolean, retina?: boolean, mouseMoveOutside?: boolean, captureMouse?: boolean, shim?: {}, maxConnections?: number, maxNum?: number, singleTouch?: boolean })
|
|
3977
|
+
loadAssets(config_or_assets: string | {}[] | {}, path?: string, progress?: Waiter | ProgressBar, xhr?: boolean, time?: number, loadTimeout?: number, outputAudioSprite?: boolean, crossOrigin?: string, fileType?: string, queueOnly?: boolean, shim?: {}): Queue
|
|
3978
|
+
loadAssets(config: { assets: string | {}[] | {}, path?: string, progress?: Waiter | ProgressBar, xhr?: boolean, time?: number, loadTimeout?: number, outputAudioSprite?: boolean, crossOrigin?: string, fileType?: string, queueOnly?: boolean, shim?: {} }): Queue
|
|
3946
3979
|
asset(file: string): any
|
|
3947
3980
|
follow(config_or_obj?: DisplayObject, boundary?: Boundary | {}, damp?: number, dampY?: number, leftOffset?: number, rightOffset?: number, upOffset?: number, downOffset?: number, offsetDamp?: number, offsetDampY?: number, horizontal?: boolean, vertical?: boolean, borderLock?: boolean, lag?: boolean): this
|
|
3948
3981
|
follow(config: { obj?: DisplayObject, boundary?: Boundary | {}, damp?: number, dampY?: number, leftOffset?: number, rightOffset?: number, upOffset?: number, downOffset?: number, offsetDamp?: number, offsetDampY?: number, horizontal?: boolean, vertical?: boolean, borderLock?: boolean, lag?: boolean }): this
|
|
@@ -4054,9 +4087,9 @@ declare namespace zim {
|
|
|
4054
4087
|
getVoices(): this
|
|
4055
4088
|
listen(): this
|
|
4056
4089
|
stopListening(): this
|
|
4057
|
-
readonly voices: [
|
|
4058
|
-
readonly voiceObjects: [
|
|
4059
|
-
readonly voiceLanguages: [
|
|
4090
|
+
readonly voices: string[]
|
|
4091
|
+
readonly voiceObjects: any[]
|
|
4092
|
+
readonly voiceLanguages: string[]
|
|
4060
4093
|
readonly recognition: any
|
|
4061
4094
|
}
|
|
4062
4095
|
export class SensorAsk extends Pane {
|
|
@@ -4185,12 +4218,12 @@ declare namespace zim {
|
|
|
4185
4218
|
pause(state?: boolean): this
|
|
4186
4219
|
}
|
|
4187
4220
|
export class Rive {
|
|
4188
|
-
constructor(config_or_width?:number, height?:number, src?:string, stateMachines?:string, artboard?:string, animations?:string|[
|
|
4189
|
-
constructor(config: {width?:number, height?:number, src?:string, stateMachines?:string, artboard?:string, animations?:string|[
|
|
4190
|
-
play(names?:string|[
|
|
4191
|
-
pause(names?:string|[
|
|
4192
|
-
stop(names?:string|[
|
|
4193
|
-
scrub(animationNames?:string|[
|
|
4221
|
+
constructor(config_or_width?:number, height?:number, src?:string, stateMachines?:string, artboard?:string, animations?:string|string[], autoplay?:boolean, layout?:{}, buffer?:ArrayBuffer, file?:string, useOffscreenRenderer?:boolean, enableRiveAssetCDN?:boolean, shouldDisableRiveListeners?:boolean, isTouchScrollEnabled?:boolean, automaticallyHandleEvents?:boolean, onLoad?:Function, onLoadError?:Function, onPlay?:Function, onPause?:Function, onStop?:Function, onLoop?:Function, onStateChange?:Function, onAdvance?:Function, assetLoader?:Function, canvas?:HTMLCanvasElement)
|
|
4222
|
+
constructor(config: {width?:number, height?:number, src?:string, stateMachines?:string, artboard?:string, animations?:string|string[], autoplay?:boolean, layout?:{}, buffer?:ArrayBuffer, file?:string, useOffscreenRenderer?:boolean, enableRiveAssetCDN?:boolean, shouldDisableRiveListeners?:boolean, isTouchScrollEnabled?:boolean, automaticallyHandleEvents?:boolean, onLoad?:Function, onLoadError?:Function, onPlay?:Function, onPause?:Function, onStop?:Function, onLoop?:Function, onStateChange?:Function, onAdvance?:Function, assetLoader?:Function, canvas?:HTMLCanvasElement })
|
|
4223
|
+
play(names?:string|string[], autoplay?:boolean): void
|
|
4224
|
+
pause(names?:string|string[]): void
|
|
4225
|
+
stop(names?:string|string[]): void
|
|
4226
|
+
scrub(animationNames?:string|string[], time?:number): void
|
|
4194
4227
|
reset(params?:{}): void
|
|
4195
4228
|
on(): Function
|
|
4196
4229
|
off(eventType:string, callback:Function): void
|
|
@@ -4203,12 +4236,12 @@ declare namespace zim {
|
|
|
4203
4236
|
content: string
|
|
4204
4237
|
source: string
|
|
4205
4238
|
activeArtboard: string
|
|
4206
|
-
animationNames: [
|
|
4207
|
-
stateMachineNames: [
|
|
4208
|
-
playingAnimationNames: [
|
|
4209
|
-
playingStateMachineNames: [
|
|
4210
|
-
pausedAnimationNames: [
|
|
4211
|
-
pausedStateMachineNames: [
|
|
4239
|
+
animationNames: string[]
|
|
4240
|
+
stateMachineNames: string[]
|
|
4241
|
+
playingAnimationNames: string[]
|
|
4242
|
+
playingStateMachineNames: string[]
|
|
4243
|
+
pausedAnimationNames: string[]
|
|
4244
|
+
pausedStateMachineNames: string[]
|
|
4212
4245
|
isPlaying: boolean
|
|
4213
4246
|
isPaused: boolean
|
|
4214
4247
|
isStopped: boolean
|
|
@@ -4224,18 +4257,18 @@ declare namespace zim {
|
|
|
4224
4257
|
rive: any
|
|
4225
4258
|
renderer: any
|
|
4226
4259
|
file: string
|
|
4227
|
-
artboards: [
|
|
4228
|
-
animations: [
|
|
4229
|
-
stateMachines: [
|
|
4260
|
+
artboards: string[]
|
|
4261
|
+
animations: string[]
|
|
4262
|
+
stateMachines: string[]
|
|
4230
4263
|
input: any
|
|
4231
4264
|
pauseMove: boolean
|
|
4232
4265
|
pauseDown: boolean
|
|
4233
4266
|
pauseUp: boolean
|
|
4234
4267
|
}
|
|
4235
|
-
export var THEME: { name?: string, lightenRatio?: number, tint?: color, tintRatio?: number, exclude?: color | [
|
|
4268
|
+
export var THEME: { name?: string, lightenRatio?: number, tint?: color, tintRatio?: number, exclude?: color | color[] }
|
|
4236
4269
|
export class Theme {
|
|
4237
4270
|
constructor()
|
|
4238
|
-
set(name?: string, lightenRatio?: number, tint?: color, tintRatio?: number, exclude?: color | [
|
|
4271
|
+
set(name?: string, lightenRatio?: number, tint?: color, tintRatio?: number, exclude?: color | color[]): void
|
|
4239
4272
|
apply(state?: boolean): void
|
|
4240
4273
|
clear(): void
|
|
4241
4274
|
}
|
|
@@ -4258,12 +4291,12 @@ declare namespace zim {
|
|
|
4258
4291
|
getOtherData(id: string): {}
|
|
4259
4292
|
getSenderProperty(propertyName: string): any
|
|
4260
4293
|
getSenderData(): {}
|
|
4261
|
-
getProperties(propertyName: string): [
|
|
4294
|
+
getProperties(propertyName: string): any[]
|
|
4262
4295
|
getData(): {}
|
|
4263
4296
|
getLatestValue(propertyName: string): any
|
|
4264
4297
|
getLatestTime(propertyName: string): number
|
|
4265
4298
|
getLatestValueID(propertyName: string): string
|
|
4266
|
-
getLatestProperties(propertyName: string): [
|
|
4299
|
+
getLatestProperties(propertyName: string): any[]
|
|
4267
4300
|
appendToHistory(someText: string): void
|
|
4268
4301
|
clearHistory(): void
|
|
4269
4302
|
dispose(): void
|