pub enum PdfPageObjectLineJoin {
Miter,
Round,
Bevel,
}Expand description
The shape that should be used at the corners of stroked paths.
Join styles are significant only at points where consecutive segments of a path connect at an angle; segments that meet or intersect fortuitously receive no special treatment.
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
Miter
The outer edges of the strokes for the two path segments are extended until they meet at an angle, as in a picture frame. If the segments meet at too sharp an angle, a bevel join is used instead.
Round
An arc of a circle with a diameter equal to the line width is drawn around the point where the two path segments meet, connecting the outer edges of the strokes for the two segments. This pie-slice-shaped figure is filled in, producing a rounded corner.
Bevel
The two path segments are finished with butt caps and the resulting notch beyond the ends of the segments is filled with a triangle.
Trait Implementations
sourceimpl Clone for PdfPageObjectLineJoin
impl Clone for PdfPageObjectLineJoin
sourcefn clone(&self) -> PdfPageObjectLineJoin
fn clone(&self) -> PdfPageObjectLineJoin
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 more
sourceimpl Debug for PdfPageObjectLineJoin
impl Debug for PdfPageObjectLineJoin
impl Copy for PdfPageObjectLineJoin
impl StructuralPartialEq for PdfPageObjectLineJoin
Auto Trait Implementations
impl RefUnwindSafe for PdfPageObjectLineJoin
impl Send for PdfPageObjectLineJoin
impl Sync for PdfPageObjectLineJoin
impl Unpin for PdfPageObjectLineJoin
impl UnwindSafe for PdfPageObjectLineJoin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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