summaryrefslogblamecommitdiffstats
path: root/core/src/shadow.rs
blob: 238ea36a00e1cb3ce9f03a2870711d6b3040231b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                 
//! 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,
}