pub struct SvgArc {
pub from: Point,
pub to: Point,
pub radii: Vec2,
pub x_rotation: f64,
pub large_arc: bool,
pub sweep: bool,
}Expand description
A single SVG arc segment.
Fields§
§from: PointThe arc’s start point.
to: PointThe arc’s end point.
radii: Vec2The arc’s radii, where the vector’s x-component is the radius in the
positive x direction after applying x_rotation.
x_rotation: f64How much the arc is rotated, in radians.
large_arc: boolDoes this arc sweep through more than π radians?
sweep: boolDetermines if the arc should begin moving at positive angles.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SvgArc
impl RefUnwindSafe for SvgArc
impl Send for SvgArc
impl Sync for SvgArc
impl Unpin for SvgArc
impl UnwindSafe for SvgArc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more