FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Needle

    struct · ferroui-livecharts · v0.5.0

    struct Needle
    

    The needle of an angular gauge (NeedleVisual with NeedleGeometry): a triangle from the centre of the chart to 45% of its smaller side, pointing at value in the range of the chart, over a circle of its half width at the centre.

    View source

    Members

    value

    value: f64
    

    Source

    width

    width: f64
    

    The width of the base of the needle (Width, 20 in the theme).

    Source

    translate

    translate: ferroui_base::Point
    

    The offset of the needle (Translate).

    Source

    fill

    fill: Option<ferroui_base::media::Color>
    

    The paint of the needle (Fill); None draws none.

    Source

    Trait implementations

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

    Availability

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