pub type DrawingEllipse<'a> = Drawing<'a, Ellipse>;
Expand description

The drawing context for an ellipse.

Aliased Type§

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

Implementations§

source§

impl<'a> DrawingEllipse<'a>

source

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

Stroke the outline with the given color.

source

pub fn radius(self, radius: f32) -> Self

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

source

pub fn resolution(self, resolution: f32) -> Self

The number of sides used to draw the ellipse.