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

type DrawingPathInit<'a, S = Default> = Drawing<'a, PathInit<S>, S>;

The initial drawing context for a path.

Methods

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

pub fn fill(self) -> DrawingPathFill<'a, S>[src]

Specify that we want to use fill tessellation for the path.

The returned building context allows for specifying the fill tessellation options.

pub fn stroke(self) -> DrawingPathStroke<'a, S>[src]

Specify that we want to use stroke tessellation for the path.

The returned building context allows for specifying the stroke tessellation options.