Enum lyon_tessellation::LineJoin
source · [−]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 RefUnwindSafe for LineJoin
impl Send for LineJoin
impl Sync for LineJoin
impl Unpin for LineJoin
impl UnwindSafe for LineJoin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more