Skip to main content

IDirectionDropShadowEffect

Trait IDirectionDropShadowEffect 

Source
pub trait IDirectionDropShadowEffect: IDropShadowEffect {
    // Required methods
    fn direction(&self) -> f64;
    fn shadow_depth(&self) -> f64;
}
Expand description

A drop shadow described by a direction and a depth.

Required Methods§

Source

fn direction(&self) -> f64

The direction of the shadow, in degrees.

Source

fn shadow_depth(&self) -> f64

The distance of the shadow from the content.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§