Constant freya_elements::rect::shadow

source ·
pub const shadow: AttributeDescription;
Expand description

Draw a shadow of the element.

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

§Example

fn app() -> Element {
    rsx!(
        rect {
            shadow: "0 0 25 2 rgb(0, 0, 0, 120)"
        }
    )
}