Enum lyon::tessellation::LineJoin [−][src]
pub enum LineJoin { Miter, MiterClip, Round, Bevel, }
Line join as defined by the SVG specification.
See: https://svgwg.org/specs/strokes/#StrokeLinejoinProperty
Variants
Miter
A sharp corner is to be used to join path segments.
MiterClip
Same as a miter join, but if the miter limit is exceeded, the miter is clipped at a miter length equal to the miter limit value multiplied by the stroke width.
Round
A round corner is to be used to join path segments.
Bevel
A bevelled corner is to be used to join path segments. The bevel shape is a triangle that fills the area between the two stroked segments.
Trait Implementations
impl Clone for LineJoin
[src]
impl Clone for LineJoin
fn clone(&self) -> LineJoin
[src]
fn clone(&self) -> LineJoin
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for LineJoin
[src]
impl Debug for LineJoin
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for LineJoin
[src]
impl Copy for LineJoin
impl PartialEq<LineJoin> for LineJoin
[src]
impl PartialEq<LineJoin> for LineJoin