Tried with 1, 2, 5, 20, 50, 100 segments. Also tried with 0, -1, -2, no exceptions thrown on this. -10 segments doesn't seem to load at all.
No luck kev, same result.
I think it's because my background color has alpha transparency and some triangles are being drawn twice - hence some areas of the shape are more opaque
than the rest.
As a result, there is no issue drawing/filling rounded rectangles that have no alpha transparency.
An updated image:
http://dev.netbin.co.uk/external_image. ... 6649039966