Stroke the shape represented by the given array of points.
Pass closeShape
to automatically close the shape by joining the last to the first point.
Pass closePath
to automatically close the path before it is stroked.
name | type | arguments | Default | description |
---|---|---|---|---|
points | array | Array.<Phaser.Geom.Point> |
The points to stroke. |
||
closeShape | boolean | <optional> | false |
When |
closePath | boolean | <optional> | false |
When |
endIndex | number | <optional> |
The index of |
This Game Object.