Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wmalloc/CKBezierPath
- Owner: wmalloc
- License: other
- Created: 2011-06-28T23:48:45.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-28T23:50:55.000Z (over 13 years ago)
- Last Synced: 2023-03-11T02:47:49.152Z (almost 2 years 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];