Skip to main content

TextShadow

Type Alias TextShadow 

Source
pub type TextShadow = Shadow;
Expand description

Compatibility spelling for the renderer-owned canonical shadow value. Text must not maintain a second color/offset/blur representation.

Aliased Type§

pub struct TextShadow {
    pub color: Color,
    pub offset: Offset,
    pub blur_radius: f32,
}

Fields§

§color: Color§offset: Offset§blur_radius: f32