FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ImageProps

    trait · ferroui-view · v0.5.0

    trait ImageProps: ElementBuilder
    

    The properties and routed events of Image.

    View source

    Members

    source

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

    Sets Image::source_property.

    Source

    blend_mode

    fn blend_mode<M>(self: Self, value: impl IntoProp<ferroui_base::media::imaging::BitmapBlendingMode, M>) -> Self
    

    Sets Image::blend_mode_property.

    Source

    stretch

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

    Sets Image::stretch_property.

    Source

    stretch_direction

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

    Sets Image::stretch_direction_property.

    Source

    Trait implementations

    Availability

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