Graphics#preUpdate()
  • References/Game Development/Phaser/Graphics/Graphics

preUpdate() Automatically called by World.preUpdate. Source code:

2025-01-10 15:47:30
Graphics#debug
  • References/Game Development/Phaser/Graphics/Graphics

debug : boolean A debug flag designed for use with Game.enableStep.

2025-01-10 15:47:30
Graphics#reset()
  • References/Game Development/Phaser/Graphics/Graphics

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

2025-01-10 15:47:30
Graphics#blendMode
  • References/Game Development/Phaser/Graphics/Graphics

blendMode : number The blend mode to be applied to the graphic shape. Apply a value of PIXI.blendModes.NORMAL to reset the blend

2025-01-10 15:47:30
Graphics#clear()
  • References/Game Development/Phaser/Graphics/Graphics

clear() → {PIXI.Graphics}

2025-01-10 15:47:30
Graphics#addChildAt()
  • References/Game Development/Phaser/Graphics/Graphics

addChildAt(child, index) → {DisplayObject}

2025-01-10 15:47:30
Graphics#lineColor
  • References/Game Development/Phaser/Graphics/Graphics

lineColor : string The color of any lines drawn. Inherited From

2025-01-10 15:47:30
Graphics#drawShape()
  • References/Game Development/Phaser/Graphics/Graphics

drawShape(shape) → {PIXI.GraphicsData}

2025-01-10 15:47:30
Graphics#y
  • References/Game Development/Phaser/Graphics/Graphics

y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.

2025-01-10 15:47:30
Graphics#pendingDestroy
  • References/Game Development/Phaser/Graphics/Graphics

pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic

2025-01-10 15:47:30