pub enum PdfPageObjectLineCap {
Butt,
Round,
Square,
}Expand description
The shape that should be used at the ends of open stroked paths.
A formal definition of these styles can be found in Section 4.3.2 of the PDF Reference Manual, version 1.7, on page 216.
Variants§
Butt
The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path.
Round
A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
Square
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 PdfPageObjectLineCap
impl Clone for PdfPageObjectLineCap
source§fn clone(&self) -> PdfPageObjectLineCap
fn clone(&self) -> PdfPageObjectLineCap
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 moresource§impl Debug for PdfPageObjectLineCap
impl Debug for PdfPageObjectLineCap
source§impl PartialEq<PdfPageObjectLineCap> for PdfPageObjectLineCap
impl PartialEq<PdfPageObjectLineCap> for PdfPageObjectLineCap
source§fn eq(&self, other: &PdfPageObjectLineCap) -> bool
fn eq(&self, other: &PdfPageObjectLineCap) -> bool
This method tests for
self and other values to be equal, and is used
by ==.