An open API service indexing awesome lists of open source software.

https://github.com/wmcrimson/CKBezierPath

BezierPath object that can be used on both MacOSX and iOS
https://github.com/wmcrimson/CKBezierPath

Last synced: 11 days ago
JSON representation

BezierPath object that can be used on both MacOSX and iOS

Awesome Lists containing this project

README

        

#CrimsonKit

CrimsonKit is licensed under the terms of the Attribution License. Copyright © 2010-2011, Waqar Malik.

CKBezierPath *path = [CKBezierPath bezierPathWithRoundedRect:CGRectInset(rect, 20.0f, 20.0f) cornerRadius:20.0f];
[path appendPath:[CKBezierPath bezierPathWithOvalInRect:CGRectInset(rect, 30.0f, 30.0f)]];
[path appendBezierPathWithRect:CGRectInset(rect, 60.0f, 40.0f)];
path.lineWidth = 3.0f;
path.usesEvenOddFillRule = NO;
[[UIColor yellowColor] setFill];
[[UIColor blueColor] setStroke];
[path fill];
[path stroke];