[][src]Type Definition nannou::draw::primitive::quad::DrawingQuad

type DrawingQuad<'a, S = Default> = Drawing<'a, Quad<S>, S>;

The drawing context for a Quad.

Implementations

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

pub fn points<P>(self, a: P, b: P, c: P, d: P) -> Self where
    P: Into<Point2<S>>, 
[src]

Use the given points as the vertices (corners) of the quad.