Module stroke

Module stroke 

Source

Structsยง

DashIterator ๐Ÿ”’
An implementation of dashing as an iterator-to-iterator transformation.
Stroke
The visual style of a stroke.
StrokeCtx
A structure that is 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 stroke outlines.

Constantsยง

DASH_ACCURACY ๐Ÿ”’

Functionsยง

dash
Create a new dashing iterator.
extend_reversed ๐Ÿ”’
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.
stroke_with
Expand a stroke into a fill.

Type Aliasesยง

Dashes
Collection of values representing lengths in a dash pattern.