Struct graphics::ellipse::Ellipse [] [src]

pub struct Ellipse {
    pub color: Color,
    pub border: Option<Border>,
    pub resolution: Resolution,
}

An ellipse with filled color

Fields

The ellipse color

The ellipse border

The resolution for the shape, 360 degrees.

Methods

impl Ellipse
[src]

Creates a new ellipse

Creates a new ellipse border

Sets ellipse color.

Sets ellipse border.

Sets optional ellipse border.

Sets resolution of the ellipse smoothness.

Draws ellipse using default method.

Draws ellipse using triangulation.

Trait Implementations

impl Colored for Ellipse
[src]

Multiplies with red, green, blue and alpha values.

Rotates hue by radians.

Mixes the current color with white. Read more

Mixes the current color with black. Read more

Rotates hue by degrees.

impl Copy for Ellipse
[src]

impl Clone for Ellipse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more