Graphics#cameraOffset
  • References/Game Development/Phaser/Graphics/Graphics

cameraOffset : Phaser.Point The x/y coordinate offset

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

drawPolygon(path) → {PIXI.Graphics}

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

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

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

addChild(child) → {DisplayObject}

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

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

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

body : Phaser.Physics.Arcade.Body |

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

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate

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

input : Phaser.InputHandler | null The

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

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

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

angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values

2025-01-10 15:47:30