Struct piston_window::CircleArc [−][src]
pub struct CircleArc {
pub color: [f32; 4],
pub radius: f64,
pub start: f64,
pub end: f64,
pub resolution: u32,
}
Expand description
A curved line
Fields
color: [f32; 4]
The arcs color
radius: f64
The radius of the arc (Thickness of the drawing, not the radius of the circle)
start: f64
The start of the arc in radians
end: f64
The end of the arc in radians
resolution: u32
The resolution for the arc.
Implementations
Sets the radius of the arc (Thickness of the arc, not the radius of the circle it wraps)
Sets the resolution of the arcs smoothness.
Draws circle arc using default method.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CircleArc
impl UnwindSafe for CircleArc
Blanket Implementations
Mutably borrows from an owned value. Read more