Type Definition nannou::draw::primitive::ellipse::DrawingEllipse[][src]

type DrawingEllipse<'a, S = Default> = Drawing<'a, Ellipse<S>, S>;

The drawing context for an ellipse.

Implementations

impl<'a, S> DrawingEllipse<'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.

pub fn radius(self, radius: S) -> Self[src]

Specify the width and height of the Ellipse via a given radius.

pub fn resolution(self, resolution: usize) -> Self[src]

The number of sides used to draw the ellipse.