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

[readonly] previousPosition : Phaser.Point

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

clear() → {PIXI.Graphics}

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

outOfCameraBoundsKill : boolean If this and the autoCull property are both set to true, then the kill

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

right : number The right coordinate of the Game Object.This is the same as x + width - offsetX.

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

drawShape(shape) → {PIXI.GraphicsData}

2025-01-10 15:47:30