Graphics#drawEllipse()

drawEllipse(x, y, width, height) → {PIXI.Graphics} Draws an ellipse. Parameters Name Type Description x Number The X coordinate of the center of the ellipse y Number The Y coordinate of the center of the ellipse width Number The half width of the ellipse height Number The half height of the ellipse Returns PIXI.Graphics - Source code: pixi/primitives/Graphics.js (Line 581)

Graphics#drawEllipse()

drawEllipse(x, y, width, height) → {PIXI.Graphics} Draws an ellipse. Parameters Name Type Description x Number The X coordinate of the center of the ellipse y Number The Y coordinate of the center of the ellipse width Number The half width of the ellipse height Number The half height of the ellipse Returns PIXI.Graphics - Inherited From PIXI.Graphics#drawEllipse Source code: pixi/primitives/Graphics.js (Line 581)

Graphics#drawCircle()

drawCircle(x, y, diameter) → {PIXI.Graphics} Draws a circle. Parameters Name Type Description x Number The X coordinate of the center of the circle y Number The Y coordinate of the center of the circle diameter Number The diameter of the circle Returns PIXI.Graphics - Source code: pixi/primitives/Graphics.js (Line 565)

Graphics#drawCircle()

drawCircle(x, y, diameter) → {PIXI.Graphics} Draws a circle. Parameters Name Type Description x Number The X coordinate of the center of the circle y Number The Y coordinate of the center of the circle diameter Number The diameter of the circle Returns PIXI.Graphics - Inherited From PIXI.Graphics#drawCircle Source code: pixi/primitives/Graphics.js (Line 565)

Graphics#destroyPhase

[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag is set to true,and can be checked in any sub-systems or plugins it is being destroyed from. Inherited From Phaser.Component.Destroy#destroyPhase Source code: gameobjects/components/Destroy.js (Line 22)

Graphics#destroyCachedSprite()

destroyCachedSprite() Destroys a previous cached sprite. Source code: pixi/primitives/Graphics.js (Line 1173)

Graphics#destroyCachedSprite()

destroyCachedSprite() Destroys a previous cached sprite. Inherited From PIXI.Graphics#destroyCachedSprite Source code: pixi/primitives/Graphics.js (Line 1173)

Graphics#destroy()

destroy(destroyChildren) Destroy this Graphics instance. Parameters Name Type Argument Default Description destroyChildren boolean <optional> true Should every child of this object have its destroy method called? Source code: gameobjects/Graphics.js (Line 139)

Graphics#debug

debug : boolean A debug flag designed for use with Game.enableStep. Inherited From Phaser.Component.Core#debug Source code: gameobjects/components/Core.js (Line 218)

Graphics#data

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be used by your own code, orby Phaser Plugins, to store data that needs to be associated with the Game Object,without polluting the Game Object directly. Inherited From Phaser.Component.Core#data Default Value {} Source code: gameobjects/components/Core.js (Line 160)