pub enum LineJoin {
Miter,
Bevel,
Round,
}Expand description
Line join style.
Possible values are miter, bevel, and round joins.
§Examples
use ailloli_ui_core::LineJoin;
assert_ne!(LineJoin::Miter, LineJoin::Bevel);Variants§
Miter
Extends outer edges until they meet, bounded by miter_limit.
Bevel
Cuts the outer corner with a straight segment.
Round
Connects segments with a circular arc.
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 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