Module path
Structs§
- Iter
- Iterates through verb array, and associated
Pointarray and conic weight. Provides options to treat open contours as closed, and to ignore degenerate data. - RawIter
Deprecated
Enums§
Type Aliases§
- Path
Pathcontain geometry.Pathmay be empty, or contain one or more verbs that outline a figure.Pathalways starts with a move verb to a Cartesian coordinate, and may be followed by additional verbs that add lines or curves. Adding a close verb makes the geometry into a continuous loop, a closed contour.Pathmay contain any number of contours, each beginning with a move verb.- Segment
Mask - SegmentMask constants correspond to each drawing Verb type in
crate::Path; for instance, ifcrate::Pathonly contains lines, only thecrate::path::SegmentMask::LINEbit is set. - Verb
- Verb instructs
Pathhow to interpret one or morePointand optional conic weight; manage contour, and terminatePath.