Draws this curve to the specified graphics object.
name | type | arguments | Default | description |
---|---|---|---|---|
graphics | Phaser.GameObjects.Graphics |
The graphics object this curve should be drawn to. |
||
pointsTotal | number | <optional> | 32 |
The number of intermediary points that make up this curve. A higher number of points will result in a smoother curve. |
The graphics object this curve was drawn to. Useful for method chaining.