FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PaintStyle

    struct · ferroui-livecharts · v0.5.0

    struct PaintStyle
    

    View source

    Members

    fill

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

    Source

    stroke

    stroke: Option<ferroui_base::media::Color>
    

    Source

    fill_brush

    fill_brush: Option<std::rc::Rc<dyn IBrush>>
    

    Native brushes override the corresponding color convenience value.

    Source

    stroke_brush

    stroke_brush: Option<std::rc::Rc<dyn IBrush>>
    

    Source

    brush_space

    brush_space: crate::paint::BrushSpace
    

    Source

    stroke_width

    stroke_width: f64
    

    Source

    stroke_cap

    stroke_cap: ferroui_base::media::PenLineCap
    

    Source

    stroke_join

    stroke_join: ferroui_base::media::PenLineJoin
    

    Source

    stroke_miter

    stroke_miter: f64
    

    Source

    opacity

    opacity: f64
    

    Source

    dashes

    dashes: Vec<f64>
    

    Absolute device-independent lengths, matching source DashEffect.

    Source

    dash_offset

    dash_offset: f64
    

    Source

    fill

    fn fill(color: Color) -> Self
    

    Source

    stroke

    fn stroke(color: Color, width: f64) -> Self
    

    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.