Skip to main content

Module stroke

Module stroke 

Source
Expand description

Stroke parameters. Re-exports kurbo::{Cap, Join, Stroke}.

kurbo::Stroke already matches the intersection of backends for the fields we want: width, caps, joins, miter limit, dash pattern, dash offset. Stroke alignment (inside/outside) and variable-width strokes are not supported by Vello and are intentionally not exposed.

Structs§

Stroke
The visual style of a stroke.

Enums§

Cap
Defines the shape to be drawn at the ends of a stroke.
Join
Defines the connection between two segments of a stroke.