Skip to content

Instantly share code, notes, and snippets.

@andoco
andoco / UIBezierPath+Image.h
Created June 8, 2012 09:08
UIBezierPath category for creating a UIImage of the path
#import <UIKit/UIKit.h>
@interface UIBezierPath (Image)
/** Returns an image of the path drawn using a stroke */
-(UIImage*) strokeImageWithColor:(UIColor*)color;
@end