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



                           
                                        






                                
                                     

                         
//! Shadow
use crate::{Color, Vector};

/// A shadow
#[derive(Debug, Clone, Copy, PartialEq)]
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,
}