Image#Image
  • References/Game Development/Phaser/Display/Image

new Image(game, x, y, key, frame)

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

resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering.

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

height : number The height of the sprite, setting this will actually modify the scale to achieve the value set

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

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

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

inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a

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

right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.

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

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.

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

exists : boolean Controls if this Sprite is processed by the core Phaser game loops and Group loops.

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

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting

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

top : number The y coordinate of the Game Object.This is the same as y - offsetY.

2025-01-10 15:47:30