Enum printpdf::types::plugins::graphics::extgstate::LineCapStyle
[−]
[src]
pub enum LineCapStyle { Butt, Round, ProjectingSquare, }
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
impl Debug for LineCapStyle
[src]
impl PartialEq for LineCapStyle
[src]
fn eq(&self, __arg_0: &LineCapStyle) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for LineCapStyle
[src]
impl Clone for LineCapStyle
[src]
fn clone(&self) -> LineCapStyle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more