pixi-reels

API reference

WinLineStyle

pixi-reels


pixi-reels / debug / WinLineStyle

Defined in: debug/WinLines.ts:8

How one line is drawn. Every field is optional.

Extended by#

Properties#

PropertyTypeDescriptionDefined in
alpha?numberOpacity, 0..1. Default 1.debug/WinLines.ts:14
color?numberLine color. Default: the next color of the palette.debug/WinLines.ts:10
dot?numberRadius of the dot on every cell the line joins, px. 0 for none. Default width * 1.3.debug/WinLines.ts:18
glow?numberBlur of a soft glow drawn under the stroke, px. 0 for none. Default 8.debug/WinLines.ts:16
smooth?booleanRound a payline’s corners through the cell centres instead of meeting at points. Default false.debug/WinLines.ts:20
width?numberStroke width, px. Default 5.debug/WinLines.ts:12