R2 - DrawCurve

void R2::DrawCurve(Array<Point>^ points,
                   double tension)

This method draws a cardinal spline.


Array<Point>^ points

An array of points specifying the cardinal spline. The array must contain a minimum of three points.

double tension

A number that specifies how tightly the curve bends through the coordinates of the cardinal spline.


A segment is defined as a curve that connects two consecutive points in the cardinal spline. The ending point of each segment is the starting point for the next segment.