Skip to content

Symbol extension for UIBezierPath class (UIBezierPath category).

License

Notifications You must be signed in to change notification settings

zedzhao/UIBezierPath-Symbol

 
 

Repository files navigation

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.

About

Symbol extension for UIBezierPath class (UIBezierPath category).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%