mirror of
https://github.com/penpot/penpot.git
synced 2025-05-13 01:26:37 +02:00
🎉 Feat masks
This commit is contained in:
parent
3ea52a0198
commit
f8d58cb74e
9 changed files with 249 additions and 102 deletions
10
render-wasm/src/shapes/groups.rs
Normal file
10
render-wasm/src/shapes/groups.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub struct Group {
|
||||
pub masked: bool,
|
||||
}
|
||||
|
||||
impl Group {
|
||||
pub fn new(masked: bool) -> Self {
|
||||
Group { masked }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue