resize(width, height) Adjusts of all the Frame properties based on the given width and height values. Parameters
getRect(out) → {Phaser.Rectangle}
spriteSourceSizeY : number Y position of the trimmed sprite inside original sprite. Source
height : number Height of the frame. Source code:
sourceSizeW : number Width of the original sprite before it was trimmed. Source
distance : number The distance from the top left to the bottom-right of this Frame. Source
spriteSourceSizeX : number X position of the trimmed sprite inside original sprite. Source
rotated : boolean Rotated? (not yet implemented) Source code:
y : number Y position within the image to cut from. Source code:
trimmed : boolean Was it trimmed when packed? Source code:
Page 2 of 3