FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PaintSnapshot

    struct · ferroui-livecharts · v0.5.0

    struct PaintSnapshot
    

    A sampled paint uses the same brush/pen objects as every other FerroUI control.

    View source

    Members

    brush

    brush: std::rc::Rc<dyn IBrush>
    

    Source

    brush_space

    brush_space: super::BrushSpace
    

    Source

    stroke_width

    stroke_width: f64
    

    Source

    stroke_miter

    stroke_miter: f64
    

    Source

    stroke_cap

    stroke_cap: ferroui_base::media::PenLineCap
    

    Source

    stroke_join

    stroke_join: ferroui_base::media::PenLineJoin
    

    Source

    dashes

    dashes: Vec<f64>
    

    Source

    dash_offset

    dash_offset: f64
    

    Source

    is_antialias

    is_antialias: bool
    

    Source

    is_paused

    is_paused: bool
    

    Source

    z_index

    z_index: f64
    

    Source

    apply_fill

    fn apply_fill(self: &Self, style: &mut PaintStyle)
    

    Source

    apply_stroke

    fn apply_stroke(self: &Self, style: &mut PaintStyle)
    

    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
    • PartialEq

    Availability

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