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

clear() → {PIXI.Graphics}

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#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
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#centerY
  • References/Game Development/Phaser/Graphics/Graphics

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)

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

alignTo(parent, position, offsetX, offsetY) → {Object}

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

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)

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

name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant

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

key : string | Phaser.RenderTexture |

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

tint : number The tint applied to the graphic shape. This is a hex value. Apply a value of 0xFFFFFF to reset the tint.

2025-01-10 15:47:30