iced-yoda/core/src/shadow.rs

16 lines
293 B
Rust
Raw Normal View History

2023-11-08 19:12:53 -08:00
//! Shadow
use crate::{Color, Vector};
/// A shadow
#[derive(Debug, Clone, Copy, PartialEq)]
2023-11-08 19:12:53 -08:00
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
2023-11-08 19:12:53 -08:00
pub blur_radius: f32,
}