new Graphics(game, x, y)
Creates a new Graphics
object.
Parameters:
Name | Type | Description |
---|---|---|
game |
Phaser.Game | Current game instance. |
x |
number | X position of the new graphics object. |
y |
number | Y position of the new graphics object. |
- Source:
Members
-
type
-
- Source:
Properties:
Name Type Description type
number The Phaser Object Type.