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>
impl<'a> DrawingEllipse<'a>
sourcepub fn stroke<C>(self, color: C) -> Selfwhere
C: IntoLinSrgba<ColorScalar>,
pub fn stroke<C>(self, color: C) -> Selfwhere
C: IntoLinSrgba<ColorScalar>,
Stroke the outline with the given color.
sourcepub fn radius(self, radius: f32) -> Self
pub fn radius(self, radius: f32) -> Self
Specify the width and height of the Ellipse via a given radius.
sourcepub fn resolution(self, resolution: f32) -> Self
pub fn resolution(self, resolution: f32) -> Self
The number of sides used to draw the ellipse.