fn paint(
ctx: &CanvasRenderingContext2d,
swatches: &Swatches,
fill: Color,
stroke: Stroke,
)Expand description
Fill then outline the path already built on ctx. A transparent swatch is
no fill, and a stroke with no width or no colour is no outline — the same
two nothings the egui backend’s strokes collapse to.