pub type DrawingPathInit<'a> = Drawing<'a, PathInit>;
Expand description
The initial drawing context for a path.
Aliased Type§
struct DrawingPathInit<'a> { /* private fields */ }
Implementations§
source§impl<'a> DrawingPathInit<'a>
impl<'a> DrawingPathInit<'a>
sourcepub fn fill(self) -> DrawingPathFill<'a>
pub fn fill(self) -> DrawingPathFill<'a>
Specify that we want to use fill tessellation for the path.
The returned building context allows for specifying the fill tessellation options.
sourcepub fn stroke(self) -> DrawingPathStroke<'a>
pub fn stroke(self) -> DrawingPathStroke<'a>
Specify that we want to use stroke tessellation for the path.
The returned building context allows for specifying the stroke tessellation options.