summaryrefslogblamecommitdiffstats
path: root/wgpu/src/widget/canvas/fill.rs
blob: 5ce24cf30e81b6689209839d5f5e66a77be83105 (plain) (tree)
1
2
3
4
5
6

                       
                                    

                             
                          







                                 
use iced_native::Color;

/// The style used to fill geometry.
#[derive(Debug, Clone, Copy)]
pub enum Fill {
    /// Fill with a color.
    Color(Color),
}

impl Default for Fill {
    fn default() -> Fill {
        Fill::Color(Color::BLACK)
    }
}