The application contains a custom view for ticket.
ClipRect enables us to select the region and then perform DIFFERENCE
, UNION
, INTERSECT
etc. with the canvas.
In order to get the cuts, we need to provide 2 circular regions at both end and then apply DIFFERENCE
.
- Add shadow