Type Definition nannou::draw::primitive::rect::DrawingRect [−][src]
type DrawingRect<'a, S = Default> = Drawing<'a, Rect<S>, S>;
The drawing context for a Rect.
Implementations
impl<'a, S> DrawingRect<'a, S> where
S: BaseFloat,
[src]
S: BaseFloat,
pub fn stroke<C>(self, color: C) -> Self where
C: IntoLinSrgba<ColorScalar>,
[src]
C: IntoLinSrgba<ColorScalar>,
Stroke the outline with the given color.