Type Alias nannou::draw::primitive::quad::DrawingQuad

source ·
pub type DrawingQuad<'a> = Drawing<'a, Quad>;
Expand description

The drawing context for a Quad.

Aliased Type§

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

Implementations§

source§

impl<'a> DrawingQuad<'a>

source

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

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