#[repr(C)]pub enum LineJoin {
Miter = 0,
MiterClip = 1,
Round = 2,
Bevel = 3,
}Expand description
Line join as defined by the SVG specification.
See: https://svgwg.org/specs/strokes/#StrokeLinejoinProperty
Variants§
Miter = 0
A sharp corner is to be used to join path segments.
MiterClip = 1
Same as a miter join, but if the miter limit is exceeded, the miter is clipped at a miter length equal to the miter limit value multiplied by the stroke width.
Round = 2
A round corner is to be used to join path segments.
Bevel = 3
A bevelled corner is to be used to join path segments. The bevel shape is a triangle that fills the area between the two stroked segments.
Trait Implementations§
impl Copy for LineJoin
impl Eq for LineJoin
impl StructuralPartialEq for LineJoin
Auto Trait Implementations§
impl Freeze for LineJoin
impl RefUnwindSafe for LineJoin
impl Send for LineJoin
impl Sync for LineJoin
impl Unpin for LineJoin
impl UnwindSafe for LineJoin
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> CallHasher for Twhere
T: Hash,
impl<T> CallHasher for Twhere
T: Hash,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.