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