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

isMask : boolean Whether this shape is being used as a mask. Inherited

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

alignIn(container, position, offsetX, offsetY)

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

addChild(child) → {DisplayObject}

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

contains(child) → {Boolean} Determines whether the specified display object is a child of the D

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

animations : Phaser.AnimationManager

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

top : number The y coordinate of the Game Object.This is the same as y - offsetY.

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