pub enum LineCap {
Butt,
Square,
Round,
}Expand description
Specifies how to render the endpoints of the path when stroking.
Variants§
Butt
Start (and stop) the line exactly at the start (end) point.
Square
Use squared ending, the center of the square is the end point.
Round
Use a round ending, the center of the circle is the end point.
Trait Implementations§
impl StructuralPartialEq for LineCap
Auto Trait Implementations§
impl Freeze for LineCap
impl RefUnwindSafe for LineCap
impl Send for LineCap
impl Sync for LineCap
impl Unpin for LineCap
impl UnwindSafe for LineCap
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