Skip to content

添加圆滑的贝塞尔曲线,可自定义连接点处的弯折程度。

License

Notifications You must be signed in to change notification settings

Alexiusy/SmoothBezier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmoothBezier podlicense

SmoothBezier is a category of UIBezierPath, which can help you create smooth bezier path.

Usage

First of all, you should import header file to your source file.

#import <UIBezierPath+SmoothBezier.h>

And then follow the code below.

UIBezierPath *bezierPath = [UIBezierPath bezierPath];
// pointValues is an array that stores point.
[bezierPath smoothPath:pointValues CurveLevel:0.6];

It's done. Now you get a smooth bezier path.

About

添加圆滑的贝塞尔曲线,可自定义连接点处的弯折程度。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published