fill scribble

This commit is contained in:
りき萌 2024-08-21 22:08:41 +02:00
parent 7933057062
commit ccab723298
3 changed files with 75 additions and 80 deletions

View file

@ -179,7 +179,14 @@ pub struct Stroke {
pub shape: Shape,
}
#[derive(Debug, Clone)]
pub struct Fill {
pub color: Rgba,
pub shape: Shape,
}
#[derive(Debug, Clone)]
pub enum Scribble {
Stroke(Stroke),
Fill(Fill),
}