Enum printpdf::types::plugins::graphics::extgstate::LineJoinStyle
[−]
[src]
pub enum LineJoinStyle { Miter, Round, Limit, }
See PDF Reference Page 216 - Line join style
Variants
Miter
Miter join. The outer edges of the strokes for the two segments are extended until they meet at an angle, as in a picture frame. If the segments meet at too sharp an angle (as defined by the miter limit parameter—see “Miter Limit,” above), a bevel join is used instead.
Round
Round join. An arc of a circle with a diameter equal to the line width is drawn around the point where the two segments meet, connecting the outer edges of the strokes for the two segments. This pieslice-shaped figure is filled in, pro- ducing a rounded corner.
Limit
Bevel join. The two segments are finished with butt caps (see “Line Cap Style” on page 216) and the resulting notch beyond the ends of the segments is filled with a triangle.
Trait Implementations
impl Debug for LineJoinStyle
[src]
impl PartialEq for LineJoinStyle
[src]
fn eq(&self, __arg_0: &LineJoinStyle) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for LineJoinStyle
[src]
impl Clone for LineJoinStyle
[src]
fn clone(&self) -> LineJoinStyle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more