lijie121210 / UIBezierPath-Symbol

Symbol extension for UIBezierPath class (UIBezierPath category).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

License:MIT License


Languages

Language:Objective-C 100.0%