1681-engine / ui / ColourSkin
Interface: ColourSkin ​
Defined in: src/ui/Panel.ts:13
A plain box: fill, and an optional border drawn inside the edge.
Properties ​
alpha? ​
ts
optional alpha?: number;Defined in: src/ui/Panel.ts:16
Opacity of fill and border alike (default 1); fillAlpha and borderAlpha override it for one of them.
border? ​
ts
optional border?: number;Defined in: src/ui/Panel.ts:21
borderAlpha? ​
ts
optional borderAlpha?: number;Defined in: src/ui/Panel.ts:20
Opacity of the border alone.
borderColor? ​
ts
optional borderColor?: number;Defined in: src/ui/Panel.ts:22
color ​
ts
color: number;Defined in: src/ui/Panel.ts:14
fillAlpha? ​
ts
optional fillAlpha?: number;Defined in: src/ui/Panel.ts:18
Opacity of the fill alone: 0 draws a bare ring (a focus mark over a face that should still show).