FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextDecorationProps

    trait · ferroui-view · v0.5.0

    trait TextDecorationProps: ElementBuilder
    

    The properties and routed events of TextDecoration.

    View source

    Members

    location

    fn location<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextDecorationLocation, M>) -> Self
    

    Sets TextDecoration::location_property.

    Source

    stroke

    fn stroke<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets TextDecoration::stroke_property.

    Source

    stroke_thickness_unit

    fn stroke_thickness_unit<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextDecorationUnit, M>) -> Self
    

    Sets TextDecoration::stroke_thickness_unit_property.

    Source

    stroke_dash_array

    fn stroke_dash_array<M>(self: Self, value: impl IntoProp<Option<ferroui_base::media::MediaCollection<f64>>, M>) -> Self
    

    Sets TextDecoration::stroke_dash_array_property.

    Source

    stroke_dash_offset

    fn stroke_dash_offset<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets TextDecoration::stroke_dash_offset_property.

    Source

    stroke_thickness

    fn stroke_thickness<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets TextDecoration::stroke_thickness_property.

    Source

    stroke_line_cap

    fn stroke_line_cap<M>(self: Self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self
    

    Sets TextDecoration::stroke_line_cap_property.

    Source

    stroke_offset

    fn stroke_offset<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets TextDecoration::stroke_offset_property.

    Source

    stroke_offset_unit

    fn stroke_offset_unit<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextDecorationUnit, M>) -> Self
    

    Sets TextDecoration::stroke_offset_unit_property.

    Source

    Trait implementations

    Availability

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