FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VisualProps

    trait · ferroui-view · v0.5.0

    trait VisualProps: ElementBuilder
    

    The properties and routed events of Visual.

    View source

    Members

    clip_to_bounds

    fn clip_to_bounds<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets Visual::clip_to_bounds_property.

    Source

    clip

    fn clip<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self
    

    Sets Visual::clip_property.

    Source

    cache_mode

    fn cache_mode<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::CacheMode>>, M>) -> Self
    

    Sets Visual::cache_mode_property.

    Source

    effect

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

    Sets Visual::effect_property.

    Source

    opacity_mask

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

    Sets Visual::opacity_mask_property.

    Source

    render_transform

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

    Sets Visual::render_transform_property.

    Source

    render_transform_origin

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

    Sets Visual::render_transform_origin_property.

    Source

    is_visible

    fn is_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets Visual::is_visible_property.

    Source

    opacity

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

    Sets Visual::opacity_property.

    Source

    flow_direction

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

    Sets Visual::flow_direction_property.

    Source

    z_index

    fn z_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
    

    Sets Visual::z_index_property.

    Source

    Trait implementations

    Availability

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