fill scribble
This commit is contained in:
parent
7933057062
commit
ccab723298
3 changed files with 75 additions and 80 deletions
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue