pub enum StrokeCap {
Butt,
Round,
Square,
}Expand description
Controls how the endpoints of a stroked arc are drawn.
Mirrors StrokeCap
in Compose.
Variants§
Butt
Flat ends at the exact arc endpoint. No extension.
Round
Semicircle with diameter equal to the stroke width, centered at the arc endpoint.
Square
Flat-ended rectangle extending half the stroke width beyond the arc endpoint.
Trait Implementations§
impl Copy 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