Macaw icon indicating copy to clipboard operation
Macaw copied to clipboard

How to use evenodd

Open Dem909 opened this issue 6 years ago • 1 comments

Hello! I have a translucent Shape on the screen, which is at the top of all svg. I have cut on it a circle in a certain place (what would this place I saw non-dimmable). But also clip and mask just to cut my Shape, and not cut a hole in it :( Help, please, who faced with

Dem909 avatar Dec 20 '19 16:12 Dem909

Hi Kirill,

That's how it done for SVG: https://stackoverflow.com/a/11878784

And it's similar for Macaw: just use path with a hole. You can make it evenodd using Path.fillRule = .evenodd

ystrot avatar Mar 26 '20 12:03 ystrot