CCPointArray Class Reference
| Inherits from | NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionCatmullRom.h |
Instance Methods
addControlPoint:
Appends a control point.
- (void)addControlPoint:(CGPoint)controlPointParameters
- controlPoint
Control point to append.
Declared In
CCActionCatmullRom.hcount
Returns the number of control points in the array.
- (NSUInteger)countReturn Value
Number of control points.
Declared In
CCActionCatmullRom.hgetControlPointAtIndex:
Retrieves a control point.
- (CGPoint)getControlPointAtIndex:(NSInteger)indexParameters
- index
Index of control point to retrieve.
Return Value
A control point.
Declared In
CCActionCatmullRom.hinitWithCapacity:
Initializes a Points array with capacity.
- (id)initWithCapacity:(NSUInteger)capacityParameters
- capacity
Capacity of the array.
Return Value
New point array.
Declared In
CCActionCatmullRom.hinsertControlPoint:atIndex:
Inserts a controlPoint.
- (void)insertControlPoint:(CGPoint)controlPoint atIndex:(NSUInteger)indexParameters
- controlPoint
Control point to insert.
- index
Index of point.
Declared In
CCActionCatmullRom.hremoveControlPointAtIndex:
Deletes a control point.
- (void)removeControlPointAtIndex:(NSUInteger)indexParameters
- index
Index of control point to delete.
Declared In
CCActionCatmullRom.hreplaceControlPoint:atIndex:
Replaces an existing control point.
- (void)replaceControlPoint:(CGPoint)controlPoint atIndex:(NSUInteger)indexParameters
- controlPoint
New control point.
- index
Index of point to replace.
Declared In
CCActionCatmullRom.h