Image#getBounds()
  • References/Game Development/Phaser/Display/Image

getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds

2025-01-10 15:47:30
Image#anchor
  • References/Game Development/Phaser/Display/Image

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top

2025-01-10 15:47:30
Image#bottom
  • References/Game Development/Phaser/Display/Image

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.

2025-01-10 15:47:30
Image#reset()
  • References/Game Development/Phaser/Display/Image

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

2025-01-10 15:47:30
Image#revive()
  • References/Game Development/Phaser/Display/Image

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object

2025-01-10 15:47:30
Image#smoothed
  • References/Game Development/Phaser/Display/Image

smoothed : boolean Enable or disable texture smoothing for this Game Object. It only takes effect if the Game Object is

2025-01-10 15:47:30
Image#setTexture()
  • References/Game Development/Phaser/Display/Image

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy

2025-01-10 15:47:30
Image#tintedTexture
  • References/Game Development/Phaser/Display/Image

tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)

2025-01-10 15:47:30
Image#kill()
  • References/Game Development/Phaser/Display/Image

kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive

2025-01-10 15:47:30
Image#children
  • References/Game Development/Phaser/Display/Image

[readonly] children : Array.<Displa

2025-01-10 15:47:30