iced-yoda/core/src/shadow.rs

16 lines
302 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, 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,
}