Skip to content

Instantly share code, notes, and snippets.

@C4Tutorials
Created April 10, 2013 18:18
Show Gist options
  • Save C4Tutorials/5357110 to your computer and use it in GitHub Desktop.
Save C4Tutorials/5357110 to your computer and use it in GitHub Desktop.
Circle with adjusted animated properties
//
// C4WorkSpace.m
//
// Created by Travis Kirton.
//
#import "C4WorkSpace.h"
@implementation C4WorkSpace
-(void)setup {
C4Shape *circle = [C4Shape ellipse:CGRectMake(0, 0, 386, 386)];
circle.center = self.canvas.center;
circle.lineWidth = 20.0f;
circle.fillColor = C4RED;
circle.strokeColor = C4GREY;
circle.lineWidth = 50.0f;
circle.strokeEnd = 0.66f;
circle.strokeStart = 0.33f;
[self.canvas addShape:circle];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment