[][src]Type Definition nannou::draw::primitive::rect::DrawingRect

type DrawingRect<'a, S = Default> = Drawing<'a, Rect<S>, S>;

The drawing context for a Rect.

Methods

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

pub fn stroke<C>(self, color: C) -> Self where
    C: IntoLinSrgba<ColorScalar>, 
[src]

Stroke the outline with the given color.