iced_core/
shadow.rs

1use crate::{Color, Vector};
2
3/// A shadow.
4#[derive(Debug, Clone, Copy, PartialEq, Default)]
5pub struct Shadow {
6    /// The color of the shadow.
7    pub color: Color,
8
9    /// The offset of the shadow.
10    pub offset: Vector,
11
12    /// The blur radius of the shadow.
13    pub blur_radius: f32,
14}