Symbol extension for UIBezierPath class (UIBezierPath category).
Objective-C
Latest commit 28f9b4d Jul 1, 2013 @Kjuly Merge pull request #1 from zedzhao/dev
Fix the bug in demo

README.md

UIBezierPath-Symbol

Symbol extension for UIBezierPath class.


Class Methods:

Plus (add)

+ (UIBezierPath *)customBezierPathOfPlusSymbolWithRect:(CGRect)rect
                                                 scale:(CGFloat)scale;

Minus (delete)

+ (UIBezierPath *)customBezierPathOfMinusSymbolWithRect:(CGRect)rect
                                                  scale:(CGFloat)scale;

Check (confirm)

+ (UIBezierPath *)customBezierPathOfCheckSymbolWithRect:(CGRect)rect
                                                  scale:(CGFloat)scale
                                                  thick:(CGFloat)thick;

Cross (cancel)

+ (UIBezierPath *)customBezierPathOfCrossSymbolWithRect:(CGRect)rect
                                                  scale:(CGFloat)scale
                                                  thick:(CGFloat)thick;

Arrow (up, down, left, right)

+ (UIBezierPath *)customBezierPathOfArrowSymbolWithRect:(CGRect)rect
                                                  scale:(CGFloat)scale
                                                  thick:(CGFloat)thick
                                              direction:(KYDirection)direction;

Pencil (edit)

+ (UIBezierPath *)customBezierPathOfPencilSymbolWithRect:(CGRect)rect
                                                   scale:(CGFloat)scale
                                                   thick:(CGFloat)thick;

License

This code is distributed under the terms and conditions of the MIT license.