FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ShapeProps

    trait · ferroui-view · v0.5.0

    trait ShapeProps: ElementBuilder
    

    The properties and routed events of Shape.

    View source

    Members

    fill

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

    Sets Shape::fill_property.

    Source

    stretch

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

    Sets Shape::stretch_property.

    Source

    stroke

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

    Sets Shape::stroke_property.

    Source

    stroke_dash_array

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

    Sets Shape::stroke_dash_array_property.

    Source

    stroke_dash_offset

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

    Sets Shape::stroke_dash_offset_property.

    Source

    stroke_thickness

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

    Sets Shape::stroke_thickness_property.

    Source

    stroke_line_cap

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

    Sets Shape::stroke_line_cap_property.

    Source

    stroke_join

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

    Sets Shape::stroke_join_property.

    Source

    stroke_miter_limit

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

    Sets Shape::stroke_miter_limit_property.

    Source

    Trait implementations

    Availability

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