key : string | Phaser.RenderTexture |
getChildIndex(child) → {Number} Returns the index position of a child DisplayObject instance
checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame
getBounds() → {Rectangle} Retrieves the bounds of the graphic shape as a rectangle object
new Graphics(game, x, y) A Graphics object is a way to draw primitives to
tint : number The tint applied to the graphic shape. This is a hex value. Apply a value of 0xFFFFFF to reset the tint.
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the graphic shape as a rectangle
name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant
ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
Page 4 of 10