Enum rasterize::LineJoin[][src]

pub enum LineJoin {
    Miter(Scalar),
    Bevel,
    Round,
}

LineJoin defines the shape to be used at the corners of paths when they are stroked. See SVG specification for more details.

Variants

Miter(Scalar)

Continue path segments with lines untill they intersect. But only if miter_length = stroke-width / sin(0.5 * eta) is less than the miter argument.

Bevel

Connect path segments with straigh line.

Round

Round corner is to be used to join path segments. The corner is a circular sector centered on the join point.

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.