Enum i_slint_core::PathData
source · #[repr(C)]
pub enum PathData {
None,
Elements(SharedVector<PathElement>),
Events(SharedVector<PathEvent>, SharedVector<Point>),
Commands(SharedString),
}Expand description
PathData represents a path described by either high-level elements or low-level events and coordinates.
Variants§
None
None is the variant when the path is empty.
Elements(SharedVector<PathElement>)
The Elements variant is used to make a Path from shared arrays of elements.
Events(SharedVector<PathEvent>, SharedVector<Point>)
The Events variant describes the path as a series of low-level events and associated coordinates.
Commands(SharedString)
The Commands variant describes the path as a series of SVG encoded path commands.