Type Definition nannou::draw::primitive::path::PathFill [−][src]
type PathFill<S = Default> = PathOptions<FillOptions, S>;
A filled path drawing context.
Implementations
impl<S> PathFill<S>
[src]
pub fn tolerance(self, tolerance: f32) -> Self
[src]
Maximum allowed distance to the path when building an approximation.
This method is shorthand for the fill_tolerance
method.
pub fn rule(self, rule: FillRule) -> Self
[src]
Specify the rule used to determine what is inside and what is outside of the shape.
Currently, only the EvenOdd
rule is implemented.
This method is shorthand for the fill_rule
method.