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 Debug for LineJoinStyle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for LineJoinStyle
[src]
impl PartialEq for LineJoinStyle
fn eq(&self, other: &LineJoinStyle) -> bool
[src]
fn eq(&self, other: &LineJoinStyle) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Copy for LineJoinStyle
[src]
impl Copy for LineJoinStyle
impl Clone for LineJoinStyle
[src]
impl Clone for LineJoinStyle
fn clone(&self) -> LineJoinStyle
[src]
fn clone(&self) -> LineJoinStyle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Into<i64> for LineJoinStyle
[src]
impl Into<i64> for LineJoinStyle
impl Into<Operation> for LineJoinStyle
[src]
impl Into<Operation> for LineJoinStyle
impl Into<Object> for LineJoinStyle
[src]
impl Into<Object> for LineJoinStyle
Auto Trait Implementations
impl Send for LineJoinStyle
impl Send for LineJoinStyle
impl Sync for LineJoinStyle
impl Sync for LineJoinStyle