Struct epaint::tessellator::Path [−][src]
pub struct Path(_);
Expand description
A connected line (without thickness or gaps) which can be tessellated to either to a stroke (with thickness) or a filled convex area. Used as a scratch-pad during tessellation.
Implementations
Open-ended.
A closed path (returning to the first point).
pub fn stroke(
&self,
path_type: PathType,
stroke: Stroke,
options: &TessellationOptions,
out: &mut Mesh
)
The path is taken to be closed (i.e. returning to the start again).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Path
impl UnwindSafe for Path
Blanket Implementations
Mutably borrows from an owned value. Read more