spriteSourceSizeW : number Width of the trimmed sprite. Source code:
rotationDirection : string Either 'cw' or 'ccw', rotation is always 90 degrees. Default
index : number The index of this Frame within the FrameData set it is being added to.
x : number X position within the image to cut from. Source code:
sourceSizeH : number Height of the original sprite before it was trimmed. Source
right : number The right of the Frame (x + width). Source code:
name : string Useful for Texture Atlas files (is set to the filename value). Source
clone() → {Phaser.Frame}
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:
Page 1 of 3