pub enum LineCap {
Butt,
Square,
Round,
}
Expand description
The type of line cap to use when rendering.
Variants
Butt
The ends are not extended.
Square
The ends are extended by the line’s thickness divided by two.
Round
The ends are extended by rounding them off with semicircles.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LineCap
impl UnwindSafe for LineCap
Blanket Implementations
Mutably borrows from an owned value. Read more