summaryrefslogtreecommitdiffstats
path: root/wgpu/src/widget/canvas/fill.rs
blob: 5ce24cf30e81b6689209839d5f5e66a77be83105 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
    }
}