Type Alias nannou::draw::primitive::rect::DrawingRect

source ·
pub type DrawingRect<'a> = Drawing<'a, Rect>;
Expand description

The drawing context for a Rect.

Aliased Type§

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

Implementations§

source§

impl<'a> DrawingRect<'a>

source

pub fn stroke<C>(self, color: C) -> Self

Stroke the outline with the given color.