pub enum JoinType {
Square,
Bevel,
Round,
Miter,
}Expand description
The JoinType enumeration is only needed when offsetting (inflating/shrinking). It isn’t needed for polygon clipping. It specifies how to manage offsetting at convex angled joins. Concave joins will always be offset with a mitered join.
When adding paths to a ClipperOffset object via the AddPaths method, the JoinType parameter must specify one of the following types - Miter, Square, Bevel or Round.
For more details see JoinType.
Variants§
Trait Implementations§
Source§impl From<JoinType> for ClipperJoinType
impl From<JoinType> for ClipperJoinType
impl Copy 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 UnsafeUnpin 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