Sets the width of the line.
When using the WebGL renderer you can have different start and end widths.
When using the Canvas renderer only the startWidth
value is used. The endWidth
is ignored.
This call can be chained.
name | type | arguments | description |
---|---|---|---|
startWidth | number |
The start width of the line. |
|
endWidth | number | <optional> |
The end width of the line. Only used in WebGL. |
This Game Object instance.