Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wmalloc/CKBezierPath

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

Last synced: 3 months 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];