Skip to content

AvatarPaint

How an avatar shape is painted (CSS colours).

optional fill?: string

Fill colour; none without it.


optional stroke?: string

Outline colour; none without it.


optional lw?: number

Stroke width, in the units of the shape (scaled by the groups around it).


optional alpha?: number

0–1, multiplied with the alpha around it.