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>

source

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.

source

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.