pub enum StrokeCap {
Butt,
Round,
Square,
}Expand description
Shape of the two ends of an open stroked path (an arc, today).
Variants§
Butt
Flat end exactly at the geometric end of the path.
Round
Semicircular end bulging half the stroke width past the path end.
Square
Flat end projected half the stroke width past the path end.
Trait Implementations§
impl Copy for StrokeCap
impl Eq for StrokeCap
impl StructuralPartialEq for StrokeCap
Auto Trait Implementations§
impl Freeze for StrokeCap
impl RefUnwindSafe for StrokeCap
impl Send for StrokeCap
impl Sync for StrokeCap
impl Unpin for StrokeCap
impl UnsafeUnpin for StrokeCap
impl UnwindSafe for StrokeCap
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