Frame#getRect()
  • References/Game Development/Phaser/Animation/Frame

getRect(out) → {Phaser.Rectangle}

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

height : number Height of the frame. Source code:

2025-01-10 15:47:30
Frame#spriteSourceSizeY
  • References/Game Development/Phaser/Animation/Frame

spriteSourceSizeY : number Y position of the trimmed sprite inside original sprite. Source

2025-01-10 15:47:30
Frame#distance
  • References/Game Development/Phaser/Animation/Frame

distance : number The distance from the top left to the bottom-right of this Frame. Source

2025-01-10 15:47:30
Frame#resize()
  • References/Game Development/Phaser/Animation/Frame

resize(width, height) Adjusts of all the Frame properties based on the given width and height values. Parameters

2025-01-10 15:47:30
Frame#sourceSizeW
  • References/Game Development/Phaser/Animation/Frame

sourceSizeW : number Width of the original sprite before it was trimmed. Source

2025-01-10 15:47:30
Frame#trimmed
  • References/Game Development/Phaser/Animation/Frame

trimmed : boolean Was it trimmed when packed? Source code:

2025-01-10 15:47:30
Frame#y
  • References/Game Development/Phaser/Animation/Frame

y : number Y position within the image to cut from. Source code:

2025-01-10 15:47:30
Frame#rotated
  • References/Game Development/Phaser/Animation/Frame

rotated : boolean Rotated? (not yet implemented) Source code:

2025-01-10 15:47:30
Frame#spriteSourceSizeX
  • References/Game Development/Phaser/Animation/Frame

spriteSourceSizeX : number X position of the trimmed sprite inside original sprite. Source

2025-01-10 15:47:30