circle(x, y, radius, fillStyle) → {Phaser.BitmapData}
Draws a filled Circle to the BitmapData at the given x, y coordinates and radius in size.
Parameters
| Name | Type | Argument | Description | 
|---|---|---|---|
x |  number | The x coordinate to draw the Circle at. This is the center of the circle.  |  |
y |  number | The y coordinate to draw the Circle at. This is the center of the circle.  |  |
radius |  number | The radius of the Circle in pixels. The radius is half the diameter.  |  |
fillStyle |  string |  <optional> |  If set the context fillStyle will be set to this value before the circle is drawn.  |  
Returns
This BitmapData object for method chaining.
- Source code: gameobjects/BitmapData.js (Line 1891)
 
Please login to continue.