iced/core/src/shadow.rs
2024-01-20 11:59:37 +01:00

15 lines
302 B
Rust

//! Shadow
use crate::{Color, Vector};
/// A shadow
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Shadow {
/// The color of the shadow
pub color: Color,
/// The offset of the shadow
pub offset: Vector,
/// The blur_radius of the shadow
pub blur_radius: f32,
}