Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.
/ CKBezierPath Public archive

BezierPath object that can be used on both MacOSX and iOS

License

Notifications You must be signed in to change notification settings

wmcrimson/CKBezierPath

Repository files navigation

#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];

About

BezierPath object that can be used on both MacOSX and iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published