#[repr(C)]pub enum LINE_JOIN {
MITER = 0,
ROUND = 1,
BEVEL = 2,
MITER_OR_BEVEL = 3,
}
Expand description
Line drawing join mode.
Variants§
MITER = 0
Specifies a mitered join. This produces a sharp corner or a clipped corner,
depending on whether the length of the miter exceeds the miter limit (10.0
).
ROUND = 1
Specifies a circular join. This produces a smooth, circular arc between the lines.
BEVEL = 2
Specifies a beveled join. This produces a diagonal corner.
MITER_OR_BEVEL = 3
Specifies a mitered join. This produces a sharp corner or a beveled corner,
depending on whether the length of the miter exceeds the miter limit (10.0
).
Trait Implementations§
impl StructuralPartialEq for LINE_JOIN
Auto Trait Implementations§
impl Freeze for LINE_JOIN
impl RefUnwindSafe for LINE_JOIN
impl Send for LINE_JOIN
impl Sync for LINE_JOIN
impl Unpin for LINE_JOIN
impl UnwindSafe for LINE_JOIN
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