API reference
WinLinesOptions
pixi-reels / debug / WinLinesOptions
Defined in: debug/WinLines.ts:24
Options for a WinLines layer.
Extends#
Properties#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
alpha? | number | Opacity, 0..1. Default 1. | WinLineStyle.alpha | debug/WinLines.ts:14 |
color? | number | Line color. Default: the next color of the palette. | WinLineStyle.color | debug/WinLines.ts:10 |
dot? | number | Radius of the dot on every cell the line joins, px. 0 for none. Default width * 1.3. | WinLineStyle.dot | debug/WinLines.ts:18 |
glow? | number | Blur of a soft glow drawn under the stroke, px. 0 for none. Default 8. | WinLineStyle.glow | debug/WinLines.ts:16 |
palette? | readonly number[] | Colors handed out in turn to lines drawn without a color. | - | debug/WinLines.ts:26 |
smooth? | boolean | Round a payline’s corners through the cell centres instead of meeting at points. Default false. | WinLineStyle.smooth | debug/WinLines.ts:20 |
width? | number | Stroke width, px. Default 5. | WinLineStyle.width | debug/WinLines.ts:12 |