Instance Method
curve(to:off1:off2:) curveTo:off1:off2: curveTo_off1_off2_
Draw a cubic bezier with an arbitrary number of control points.
Declaration
func curve(to pt: NSPoint, off1: NSPoint, off2: NSPoint)Declaration
- (void) curveTo:(NSPoint) pt off1:(NSPoint) off1 off2:(NSPoint) off2;Declaration
curveTo_off1_off2_(pt: NSPoint, off1: NSPoint, off2: NSPoint)Discussion
The last point specified is on-curve, all others are off-curve (control) points. If the number of control points is > 2, the segment is split into multiple bezier segments.