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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.