Enum printpdf::extgstate::LineJoinStyle
source · [−]pub enum LineJoinStyle {
Miter,
Round,
Limit,
}
Expand description
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
sourceimpl Clone for LineJoinStyle
impl Clone for LineJoinStyle
sourcefn clone(&self) -> LineJoinStyle
fn clone(&self) -> LineJoinStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineJoinStyle
impl Debug for LineJoinStyle
sourceimpl Into<Object> for LineJoinStyle
impl Into<Object> for LineJoinStyle
sourceimpl Into<Operation> for LineJoinStyle
impl Into<Operation> for LineJoinStyle
sourceimpl Into<i64> for LineJoinStyle
impl Into<i64> for LineJoinStyle
sourceimpl PartialEq<LineJoinStyle> for LineJoinStyle
impl PartialEq<LineJoinStyle> for LineJoinStyle
sourcefn eq(&self, other: &LineJoinStyle) -> bool
fn eq(&self, other: &LineJoinStyle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for LineJoinStyle
impl StructuralPartialEq for LineJoinStyle
Auto Trait Implementations
impl RefUnwindSafe for LineJoinStyle
impl Send for LineJoinStyle
impl Sync for LineJoinStyle
impl Unpin for LineJoinStyle
impl UnwindSafe for LineJoinStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more