Skip to main content

Module paint

Module paint 

Source
Expand description

Fills, strokes and colours. Two schemas exist: Affinity 1 (BFil fill, PFil stroke paint, LSty stroke style) and Affinity 2/3 (BFFl, LIFl and LILn lists with a current index).

Structs§

Gradient
Stop
Stroke

Enums§

Align
Cap
Color
A colour as stored: RGB and grey values are encoded in the document’s RGB space (sRGB unless the document embeds another profile), CMYK values go through its CMYK profile. Alpha is straight.
GradientKind
Join
Paint