Duncan Champney an old friend, has released some iOS code demonstrating how to convert a multipoint Polygon into a Round Corner Polygon.
This common graphic operation is not available in any iOS/Mac SDK, so this is great resource for anyone who design this type of interface.
https://github.com/DuncanMC/RoundedCornerPolygon
Stack Overflow posting regarding code: https://stackoverflow.com/questions/67051677/how-do-i-draw-irregular-polygons-with-a-mix-of-rounded-and-sharp-corners/
No comments:
Post a Comment