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

drawShape(shape) → {PIXI.GraphicsData}

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

[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate

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

addChildAt(child, index) → {DisplayObject}

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

exists : boolean Controls if this Game Object is processed by the core game loop.If this Game Object has a physics body it

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

generateTexture(resolution, scaleMode, padding)

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

destroyCachedSprite() Destroys a previous cached sprite. Inherited From

2025-01-10 15:47:30