Enum pdf_canvas::graphicsstate::CapStyle [−][src]
pub enum CapStyle { Butt, Round, ProjectingSquare, }
Line cap styles, as described in section 8.4.3.4 of the PDF specification.
Variants
Butt
Truncate the line squarely through the endpoint.
Round
Include a circle of line-width diameter around the endpoint.
ProjectingSquare
Include a square around the endpoint, so the line continues for half a line-width through the endpoint.
Trait Implementations
impl Clone for CapStyle
[src]
impl Clone for CapStyle
fn clone(&self) -> CapStyle
[src]
fn clone(&self) -> CapStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for CapStyle
[src]
impl Copy for CapStyle
impl Debug for CapStyle
[src]
impl Debug for CapStyle