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

autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame

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

fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the

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

[readonly] z : number The z depth of this Game Object within its parent Group.No two

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

clear() → {PIXI.Graphics}

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

lineTo(x, y) → {PIXI.Graphics}

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

[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag

2025-01-10 15:47:30