getBounds() → {Rectangle} Retrieves the bounds of the graphic shape as a rectangle object
destroyCachedSprite() Destroys a previous cached sprite. Inherited From
exists : boolean Controls if this Game Object is processed by the core game loop.If this Game Object has a physics body it
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the graphic shape as a rectangle
data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
key : string | Phaser.RenderTexture |
generateTexture(resolution, scaleMode, padding)
tint : number The tint applied to the graphic shape. This is a hex value. Apply a value of 0xFFFFFF to reset the tint.
ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children
new Graphics(game, x, y) A Graphics object is a way to draw primitives to
Page 4 of 10