# R2 - DrawClosedCurve

void R2::DrawClosedCurve(Array<PointL>^ points,
double tension)

This method draws a closed cardinal spline.

## Parameters

Array<PointL>^ 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 though the
coordinates of the closed cardinal spline.

## Notes

Each ending point is the starting point for the next cardinal spline.

Because the cardinal spline is closed,
the curve continues through the last point and connects with the first point in the array.