Constructors
constructor
- new default(textureManager, config): default
Parameters
- textureManager: any
- config: any
Properties
Methods
add
- add(obj): void
Returns void
addAt
- addAt(obj, index): void
Returns void
addedToScene
- addedToScene(): void
Returns void
beginPath
- beginPath(): void
Returns void
createGeometryMask
- createGeometryMask(): void
Returns void
destroy
- destroy(): void
Returns void
fillRect
- fillRect(x, y, width, height): void
Parameters
- x: any
- y: any
- width: any
- height: any
Returns void
fillStyle
- fillStyle(color): void
Returns void
getAll
- getAll(): any[]
Returns any[]
getAt
- getAt(index): any
Returns any
getIndex
- getIndex(obj): number
Returns number
off
- off(event, callback, source): void
Parameters
- event: any
- callback: any
- source: any
Returns void
once
- once(event, callback, source): void
Parameters
- event: any
- callback: any
- source: any
Returns void
remove
- remove(obj): void
Returns void
removeAll
- removeAll(): void
Returns void
removeFromDisplayList
- removeFromDisplayList(): void
Returns void
setAlpha
- setAlpha(alpha): void
Returns void
setName
- setName(name): void
Returns void
setOrigin
- setOrigin(x, y): void
Returns void
setPositionRelative
- setPositionRelative(source, x, y): void
Returns void
setScale
- setScale(scale): void
Returns void
setVisible
- setVisible(visible): void
Returns void