Open levey opened 11 years ago
When changed kBoxRadius, the kCPOffset is hard to matching for making a rounded corner.
So I replace addCurveToPoint with addArcWithCenter when processing the rounded corner, remove kCPOffset option.
When changed kBoxRadius, the kCPOffset is hard to matching for making a rounded corner.
So I replace addCurveToPoint with addArcWithCenter when processing the rounded corner, remove kCPOffset option.