graphics(x, y) → {Phaser.Graphics}
Creates a new Graphics object.
Parameters
| Name | Type | Argument | Default | Description | 
|---|---|---|---|---|
x |  number |  <optional> |  0 | X position of the new graphics object.  |  
y |  number |  <optional> |  0 | Y position of the new graphics object.  |  
Returns
The newly created graphics object.
- Source code: gameobjects/GameObjectCreator.js (Line 236)
 
Please login to continue.