Expand description
All Sk* types are accessible via skia_safe::
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§
- AddPath
Mode - AddPathMode chooses how
add_path()appends. Adding onePathto another can extend the last contour or start a new contour. - ArcSize
- Four oval parts with radii (rx, ry) start at last
PathPointand ends at (x, y). ArcSize and Direction select one of the four oval parts.
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.