pub type DrawingPathFill<'a> = Drawing<'a, PathFill>;
Expand description

The drawing context for a filled path, prior to path event submission.

Aliased Type§

struct DrawingPathFill<'a> { /* private fields */ }

Implementations§

source§

impl<'a> DrawingPathFill<'a>

source

pub fn tolerance(self, tolerance: f32) -> Self

Maximum allowed distance to the path when building an approximation.

source

pub fn rule(self, rule: FillRule) -> Self

Specify the rule used to determine what is inside and what is outside of the shape.

Currently, only the EvenOdd rule is implemented.