#import <CurveLayer.h>
Public Member Functions | |
| (id) | - initWithStartNode:andEndNode: |
| Initializer. | |
| (void) | - drawInContext: |
| drawInContext: override | |
Properties | |
| CGPoint | startNode |
| CGPoint | endNode |
Subclasses CALayer to draw B-Splines.
| - (void) drawInContext: | (CGContextRef) | theContext |
drawInContext: override
Interpolates and creates B-Spline from point1 to point2.
| - (id) initWithStartNode: | (CGPoint) | point1 | ||
| andEndNode: | (CGPoint) | point2 | ||
Initializer.
Sets startNode and endNode according to positions of point1/point2
- (CGPoint) endNode [read, write, assign] |
- (CGPoint) startNode [read, write, assign] |
1.5.9