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

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

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

new Graphics() The Graphics class contains methods used to draw primitive shapes such as lines, circles and rectangles to the display

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

removeChildAt(index) → {DisplayObject}

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

removeChild(child) → {DisplayObject}

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

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

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

width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set

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

updateLocalBounds() Update the bounds of the object Source code:

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

blendMode : number The blend mode to be applied to the graphic shape. Apply a value of PIXI.blendModes.NORMAL to reset the blend

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

drawRoundedRect(x, y, width, height, radius) Parameters Name Type Description

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

bezierCurveTo(cpX, cpY, cpX2, cpY2, toX, toY) → {PIXI

2025-01-10 15:47:30