pub enum LineCapStyle {
Butt,
Round,
ProjectingSquare,
}
Expand description
See PDF Reference (Page 216) - Line cap (ending) style
Variants§
Butt
Butt cap. The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path.
Round
Round cap. A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
ProjectingSquare
Projecting square cap. The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
Trait Implementations§
source§impl Clone for LineCapStyle
impl Clone for LineCapStyle
source§fn clone(&self) -> LineCapStyle
fn clone(&self) -> LineCapStyle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more