getRect(out) → {Phaser.Rectangle}
resize(width, height) Adjusts of all the Frame properties based on the given width and height values. Parameters
spriteSourceSizeY : number Y position of the trimmed sprite inside original sprite. Source
distance : number The distance from the top left to the bottom-right of this Frame. Source
sourceSizeW : number Width of the original sprite before it was trimmed. Source
height : number Height of the frame. Source code:
y : number Y position within the image to cut from. Source code:
new Frame(index, x, y, width, height, name) A Frame is a single frame of an animation and is part of a FrameData collection.
trimmed : boolean Was it trimmed when packed? Source code:
spriteSourceSizeX : number X position of the trimmed sprite inside original sprite. Source
Page 2 of 3