Skip to main content

VisualProps

Trait VisualProps 

Source
pub trait VisualProps: ElementBuilder {
    // Provided methods
    fn clip_to_bounds<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn clip<M>(self, value: impl IntoProp<Option<Ref<Geometry>>, M>) -> Self { ... }
    fn cache_mode<M>(
        self,
        value: impl IntoProp<Option<Ref<CacheMode>>, M>,
    ) -> Self { ... }
    fn effect<M>(self, value: impl IntoProp<Option<Rc<dyn IEffect>>, M>) -> Self { ... }
    fn opacity_mask<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
    ) -> Self { ... }
    fn render_transform<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn ITransform>>, M>,
    ) -> Self { ... }
    fn render_transform_origin<M>(
        self,
        value: impl IntoProp<RelativePoint, M>,
    ) -> Self { ... }
    fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self { ... }
    fn flow_direction<M>(self, value: impl IntoProp<FlowDirection, M>) -> Self { ... }
    fn z_index<M>(self, value: impl IntoProp<i32, M>) -> Self { ... }
}
Expand description

The properties and routed events of Visual.

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§