pub enum JoinType {
Square,
Bevel,
Round,
Miter,
}Expand description
Join type for path offsetting. Direct port from clipper.offset.h line 19.
Square: Joins are ‘squared’ at exactly the offset distance (more complex code)Bevel: Similar to Square, but offset distance varies with angle (simple & faster)Round: Joins are rounded (arc approximation)Miter: Joins extend to a point, limited by miter_limit
Variants§
Trait Implementations§
impl Copy for JoinType
impl Eq for JoinType
impl StructuralPartialEq for JoinType
Auto Trait Implementations§
impl Freeze for JoinType
impl RefUnwindSafe for JoinType
impl Send for JoinType
impl Sync for JoinType
impl Unpin for JoinType
impl UnwindSafe for JoinType
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