Module stroke

Source

Structsยง

Stroke
Describes the visual style of a stroke.
StrokeCtx ๐Ÿ”’
Internal structure used for creating strokes.
StrokeOpts
Options for path stroking.

Enumsยง

Cap
Defines the shape to be drawn at the ends of a stroke.
DashState ๐Ÿ”’
Join
Defines the connection between two segments of a stroke.
StrokeOptLevel
Optimization level for computing

Constantsยง

DASH_ACCURACY ๐Ÿ”’

Functionsยง

dash
Create a new dashing iterator.
dash_impl ๐Ÿ”’
extend_reversed ๐Ÿ”’
fit_with_opts ๐Ÿ”’
round_cap ๐Ÿ”’
round_join ๐Ÿ”’
round_join_rev ๐Ÿ”’
seg_to_el ๐Ÿ”’
square_cap ๐Ÿ”’
stroke
Expand a stroke into a fill.
stroke_undashed ๐Ÿ”’
Version of stroke expansion for styles with no dashes.

Type Aliasesยง

Dashes
Collection of values representing lengths in a dash pattern.