pub enum PdfPageObjectLineJoin {
Miter = 0,
Round = 1,
Bevel = 2,
}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 = 0
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 = 1
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 = 2
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§
source§impl Clone for PdfPageObjectLineJoin
impl Clone for PdfPageObjectLineJoin
source§fn clone(&self) -> PdfPageObjectLineJoin
fn clone(&self) -> PdfPageObjectLineJoin
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PdfPageObjectLineJoin
impl Debug for PdfPageObjectLineJoin
source§impl PartialEq for PdfPageObjectLineJoin
impl PartialEq for PdfPageObjectLineJoin
source§fn eq(&self, other: &PdfPageObjectLineJoin) -> bool
fn eq(&self, other: &PdfPageObjectLineJoin) -> bool
self and other values to be equal, and is used
by ==.