Enum piet::LineCap [−][src]
pub enum LineCap {
Butt,
Round,
Square,
}
Expand description
Options for the cap of stroked lines.
Variants
The stroke is squared off at the endpoint of the path.
The stroke ends in a semicircular arc with a diameter equal to the line width.
The stroke projects past the end of the path, and is squared off.
The stroke projects for a distance equal to half the width of the line.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LineCap
impl UnwindSafe for LineCap
Blanket Implementations
Mutably borrows from an owned value. Read more