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
sourceimpl Clone for PdfPageObjectLineCap
impl Clone for PdfPageObjectLineCap
sourcefn clone(&self) -> PdfPageObjectLineCap
fn clone(&self) -> PdfPageObjectLineCap
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PdfPageObjectLineCap
impl Debug for PdfPageObjectLineCap
sourceimpl PartialEq<PdfPageObjectLineCap> for PdfPageObjectLineCap
impl PartialEq<PdfPageObjectLineCap> for PdfPageObjectLineCap
sourcefn eq(&self, other: &PdfPageObjectLineCap) -> bool
fn eq(&self, other: &PdfPageObjectLineCap) -> bool
impl Copy for PdfPageObjectLineCap
impl StructuralPartialEq for PdfPageObjectLineCap
Auto Trait Implementations
impl RefUnwindSafe for PdfPageObjectLineCap
impl Send for PdfPageObjectLineCap
impl Sync for PdfPageObjectLineCap
impl Unpin for PdfPageObjectLineCap
impl UnwindSafe for PdfPageObjectLineCap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more