pixi-reels

API reference

WinLinesOptions

pixi-reels


pixi-reels / debug / WinLinesOptions

Defined in: debug/WinLines.ts:24

Options for a WinLines layer.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
alpha?numberOpacity, 0..1. Default 1.WinLineStyle.alphadebug/WinLines.ts:14
color?numberLine color. Default: the next color of the palette.WinLineStyle.colordebug/WinLines.ts:10
dot?numberRadius of the dot on every cell the line joins, px. 0 for none. Default width * 1.3.WinLineStyle.dotdebug/WinLines.ts:18
glow?numberBlur of a soft glow drawn under the stroke, px. 0 for none. Default 8.WinLineStyle.glowdebug/WinLines.ts:16
palette?readonly number[]Colors handed out in turn to lines drawn without a color.-debug/WinLines.ts:26
smooth?booleanRound a payline’s corners through the cell centres instead of meeting at points. Default false.WinLineStyle.smoothdebug/WinLines.ts:20
width?numberStroke width, px. Default 5.WinLineStyle.widthdebug/WinLines.ts:12