🔸mask
SwiftUI ⟩ view ⟩ drawing ⟩ mask
- view.inverseMask(): custom extension 
// .mask() vs .clipShape()
view.mask(Circle().opacity(0.5))    // with opacity
view.clipShape(Circle())            // no opacity- Design+Code ⟩ Shape, Stroke and Blend Mode 
Last updated
Was this helpful?