pub enum LineJoin {
Miter,
Round,
Bevel,
}Expand description
How two stroke segments meet at a corner.
Variants§
Miter
Sharp corner extended to a point, subject to the miter limit. SVG / PDF default.
Round
Corner rounded with a circular arc of radius width / 2.
Bevel
Corner cut off with a straight edge across the outer angle.
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 UnsafeUnpin 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