Created
July 26, 2012 21:17
-
-
Save C4Examples/3184572 to your computer and use it in GitHub Desktop.
Shapes: lineWidth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // C4WorkSpace.m | |
| // Examples | |
| // | |
| // Created by Travis Kirton | |
| // | |
| #import "C4WorkSpace.h" | |
| @implementation C4WorkSpace | |
| -(void)setup { | |
| C4Shape *circle; | |
| //create and position the shape with default colors | |
| circle = [C4Shape ellipse:CGRectMake(0, 0, 200, 200)]; | |
| circle.center = self.canvas.center; | |
| //change the line width | |
| circle.lineWidth = 100.0f; | |
| //add the shapes to the canvas | |
| [self.canvas addShape:circle]; | |
| } | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment