Constant freya::elements::text::text_shadow

pub const text_shadow: (&'static str, Option<&'static str>, bool);
Expand description

Specify the shadow of a text.

Syntax: <x> <y> <size> <color>

ยงExample

fn app() -> Element {
    rsx!(
        label {
            text_shadow: "0 18 12 rgb(0, 0, 0)",
            "Hello, World!"
        }
    )
}