Struct graphics::circle_arc::CircleArc [] [src]

pub struct CircleArc {
    pub color: Color,
    pub radius: Radius,
    pub start: Scalar,
    pub end: Scalar,
    pub resolution: Resolution,
}

A curved line

Fields

The arcs color

The radius of the arc (Thickness of the drawing, not the radius of the circle)

The start of the arc in radians

The end of the arc in radians

The resolution for the arc.

Methods

impl CircleArc
[src]

Creates a new arc

Sets the arcs color.

Sets the radius of the arc (Thickness of the arc, not the radius of the circle it wraps)

Sets the start of the arc (in radians).

Sets the end of the arc (in radians).

Sets the resolution of the arcs smoothness.

Draws circle arc using default method.

Draws circle arc using triangulation.

Trait Implementations

impl Copy for CircleArc
[src]

impl Clone for CircleArc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more