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
- Host: GitHub
- URL: https://github.com/wmcrimson/CKBezierPath
- Owner: wmcrimson
- License: other
- Archived: true
- Created: 2011-06-28T23:48:45.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-06-28T23:50:55.000Z (almost 14 years ago)
- Last Synced: 2024-11-05T11:53:21.193Z (5 months ago)
- Language: Objective-C
- Homepage:
- Size: 134 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
- awesome - CKBezierPath - BezierPath object that can be used on both MacOSX and iOS (etc)
- awesome - CKBezierPath - BezierPath object that can be used on both MacOSX and iOS (etc)
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];