Skip to content

Documentation / spryte / LinesOptions

Interface: LinesOptions ​

Defined in: lines.ts:6

Options for lines, applied to every line.

Properties ​

alpha? ​

optional alpha?: number

Defined in: lines.ts:12

Multiplied with the colour's alpha and draw.alpha. Default 1.


color? ​

optional color?: Color

Defined in: lines.ts:10

Colour multiplier for every line, multiplied with each.color. Default white.


width? ​

optional width?: number

Defined in: lines.ts:8

Line width in logical units, multiplied with each.width. Default 1.