drawShape(shape) → {PIXI.GraphicsData}
Draws the given shape to this Graphics object. Can be any of Circle, Rectangle, Ellipse, Line or Polygon.
Parameters
| Name | Type | Description | 
|---|---|---|
shape |  Circle | Rectangle | Ellipse | Line | Polygon | The Shape object to draw.  |  
Returns
The generated GraphicsData object.
- Source code: pixi/primitives/Graphics.js (Line 1184)
 
Please login to continue.