[][src]Enum femtovg::LineJoin

pub enum LineJoin {
    Miter,
    Round,
    Bevel,
}

Determines the shape used to join two line segments where they meet. Miter (default), Round, Bevel.

Variants

Miter

Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional lozenge-shaped area. This setting is affected by the miterLimit property. Default value.

Round

Rounds off the corners of a shape by filling an additional sector of disc centered at the common endpoint of connected segments. The radius for these rounded corners is equal to the line width.

Bevel

Fills an additional triangular area between the common endpoint of connected segments, and the separate outside rectangular corners of each segment.

Trait Implementations

impl Clone for LineJoin[src]

impl Copy for LineJoin[src]

impl Debug for LineJoin[src]

impl Default for LineJoin[src]

impl PartialEq<LineJoin> for LineJoin[src]

impl PartialOrd<LineJoin> for LineJoin[src]

impl StructuralPartialEq for LineJoin[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.