spriteSourceSizeW : number Width of the trimmed sprite. Source code:
sourceSizeH : number Height of the original sprite before it was trimmed. Source
x : number X position within the image to cut from. Source code:
index : number The index of this Frame within the FrameData set it is being added to.
rotationDirection : string Either 'cw' or 'ccw', rotation is always 90 degrees. Default
clone() → {Phaser.Frame}
name : string Useful for Texture Atlas files (is set to the filename value). Source
setTrim(trimmed, actualWidth, actualHeight, destX, destY, destWidth, destHeight) If the frame was trimmed when added to the Texture
centerY : number Center Y position within the image to cut from. Source code:
right : number The right of the Frame (x + width). Source code:
Page 1 of 3