Split Fill and Stroke into their own modules

This commit is contained in:
Héctor Ramón Jiménez 2020-02-12 09:12:35 +01:00
parent 1beeaf9db5
commit de8f06b512
3 changed files with 83 additions and 78 deletions

View file

@ -0,0 +1,12 @@
use iced_native::Color;
#[derive(Debug, Clone, Copy)]
pub enum Fill {
Color(Color),
}
impl Default for Fill {
fn default() -> Fill {
Fill::Color(Color::BLACK)
}
}