Graphics.lineStyle method
Graphics › lineStyle
Unofficial
Sets the line style.Signature:
lineStyle(width: number, color?: ColorSource, alpha?: number, alignment?: number, native?: boolean): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| width | number | Line width. |
| color? | ColorSource | Line color. |
| alpha? | number | Line alpha. |
| alignment? | number | Line alignment. |
| native? | boolean | Whether to use native line drawing. |
Returns: this — This graphics for chaining.