TuSDKPFPaintBezierPath Class Reference

Inherits from UIBezierPath
Declared in TuSDKPFPaintBezierPath.h

Overview

自定义bezier类

  color

曲线颜色

@property (nonatomic, strong) UIColor *color

Availability

v3.1.0

Declared In

TuSDKPFPaintBezierPath.h

  isUndo

是否撤销

@property (nonatomic, assign) BOOL isUndo

Availability

v3.1.0

Declared In

TuSDKPFPaintBezierPath.h

  points

points—曲线上面所有的点

@property (nonatomic, strong) NSArray *points

Availability

v3.1.0

Declared In

TuSDKPFPaintBezierPath.h

– smoothedPath:

插值法让曲线更加平滑

- (TuSDKPFPaintBezierPath *)smoothedPath:(int)granularity

Parameters

granularity

插入的值得个数

Return Value

新的曲线

Availability

v3.1.0

Declared In

TuSDKPFPaintBezierPath.h