Skip to main content

Type Alias: ColourSlot

ColourSlot = "foreground" | "background"

Defined in: src/lib/classes/PaintCanvas/index.ts:156

One of the two colours, by where it's shown: the foreground slot (in front) or the background slot (behind). The selected one is the brush colour (painted by the brush and brush colour fills); the other is the background colour (painted by the eraser and Delete when the layer's alpha lock is on, and by background fills).