FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionStrokeLineJoin

    enum · ferroui-base · v0.5.0

    enum CompositionStrokeLineJoin
    

    How the segments of a stroke are joined (WinUI CompositionStrokeLineJoin).

    View source

    Members

    Miter

    Miter = 0
    

    A sharp corner, cut at the miter limit.

    Source

    Bevel

    Bevel = 1
    

    A corner cut off at the outer ends of the segments.

    Source

    Round

    Round = 2
    

    A rounded corner.

    Source

    MiterOrBevel

    MiterOrBevel = 3
    

    A sharp corner, or a bevel beyond the miter limit.

    Source

    to_pen_line_join

    fn to_pen_line_join(self: Self) -> PenLineJoin
    

    The line join of the platform pen.

    Deviation (winui-composition.md): the miter join of the platform pens becomes a bevel beyond the miter limit, so Miter (cut at the limit in WinUI) and MiterOrBevel both draw that join.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • BatchValue
    • ServerPropertyValue

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.