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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more