[][src]Type Definition nannou::draw::primitive::path::DrawingPathFill

type DrawingPathFill<'a, S = Default> = Drawing<'a, PathFill<S>, S>;

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

Implementations

impl<'a, S> DrawingPathFill<'a, S> where
    S: BaseFloat
[src]

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

Maximum allowed distance to the path when building an approximation.

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.