pub enum Join {
Mitre(f32),
Round,
Bevel,
}Expand description
How a stroke turns a corner, on the outside.
Variants§
Mitre(f32)
To a point, unless the point would extend more than this many times the width: then cut
as Bevel. (4 is the common default; a right angle extends 1.42 times the width, and
sharper corners extend further.)
Round
Round.
Bevel
Cut straight across.
Trait Implementations§
impl Copy for Join
impl StructuralPartialEq for Join
Auto Trait Implementations§
impl Forget for Join
impl Freeze for Join
impl Move for Join
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnsafeUnpin for Join
impl UnwindSafe for 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