FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BrushProps

    trait · ferroui-view · v0.5.0

    trait BrushProps: ElementBuilder
    

    The properties and routed events of Brush.

    View source

    Members

    opacity

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

    Sets Brush::opacity_property.

    Source

    transform

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

    Sets Brush::transform_property.

    Source

    transform_origin

    fn transform_origin<M>(self: Self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self
    

    Sets Brush::transform_origin_property.

    Source

    relative_transform

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

    Sets Brush::relative_transform_property.

    Source

    Trait implementations

    Availability

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