pub enum LineJoin {
Miter,
Round,
Bevel,
}Expand description
Stroke line-join style.
Determines how two stroke segments meet at a shared vertex. Corresponds to
the PDF lineJoin graphics-state parameter (PDF 32000-1:2008, §8.4.3.4).
§Extension policy
Not #[non_exhaustive]: PDF specifies exactly three join styles.
Variants§
Miter
Sharp mitered corner, clipped at the miter limit (PDF join style 0).
Round
Rounded join — a filled arc centred on the vertex (PDF join style 1).
Bevel
Flat bevel — the outside corner is cut off (PDF join style 2).
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