pub enum LineJoin<T>where
T: FloatNumber,{
Bevel,
Miter(T),
Round(T),
}Expand description
The join style of a line.
Variants§
Bevel
Cuts off the corner where two lines meet. This is the default.
Miter(T)
Creates a sharp corner where two lines meet.
The corner is limited by a miter, where the parameter Angle
is a minimum sharp angle
Round(T)
Creates an arc corner where two lines meet.
The arc is approximated using a group of segments, where the parameter Angle
is defined as L / R, with L being the maximum segment length and R being the arc radius.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for LineJoin<T>where
T: Freeze,
impl<T> RefUnwindSafe for LineJoin<T>where
T: RefUnwindSafe,
impl<T> Send for LineJoin<T>where
T: Send,
impl<T> Sync for LineJoin<T>where
T: Sync,
impl<T> Unpin for LineJoin<T>where
T: Unpin,
impl<T> UnsafeUnpin for LineJoin<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LineJoin<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more