pub enum LineJoin {
Miter,
MiterClip,
Round,
Bevel,
}
Expand description
Line join as defined by the SVG specification.
See: https://svgwg.org/specs/strokes/#StrokeLinejoinProperty
Variants§
Miter
A sharp corner is to be used to join path segments.
MiterClip
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
A round corner is to be used to join path segments.
Bevel
A beveled 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 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)