NChartBezierInterpolator Class Reference
Inherits from | NChartInterpolator : NSObject |
---|---|
Declared in | NChartBezierInterpolator.h |
Overview
The NChartBezierInterpolator class provides bezier interpolator. If it is used, the animated values will changed in time as follows: v(t) = (1 - t)2 * v_from + 2 * t * (1 - t) * v_c + t2 * v_from, where v_from, v_to are respectively the start and end values, v_c is control point and t is the time.
+ bezierInterpolatorWithControlPoint:
Create the bezier interpolator with given control point.
+ (id)bezierInterpolatorWithControlPoint:(float)controlPoint
Parameters
controlPoint |
|
---|
Return Value
new instance of bezier interpolator.
Declared In
NChartBezierInterpolator.h
– initWithControlPoint:
Initialize the bezier interpolator with given control point.
- (id)initWithControlPoint:(float)controlPoint
Parameters
controlPoint |
|
---|
Return Value
initialized instance of bezier interpolator.
Declared In
NChartBezierInterpolator.h
controlPoint
Control point of bezier interpolator.
@property (nonatomic, assign) float controlPoint
Declared In
NChartBezierInterpolator.h