/TicketView

Android custom view for Ticket

Primary LanguageJava

Ticket View

The application contains a custom view for ticket.

Screenshot:

How cuts are made ?

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.

Future steps

  • Add shadow

Reference