R2 - FillClosedCurve

void R2::FillClosedCurve(Array<PointL>^ points,
                         unsigned fillMode,
                         double tension = 0.5f)

This method fills a closed cubic curve.


Array<PointL>^ points

A pointer to an array of points that define the closed curve.

unsigned fillMode

The mode used for filling the closed curve.

double tension

A value that influences the shape of the closed cubic curves. It specifies how tightly the spline bends as it passes through the points. A value of 0 specifies that the spline is a sequence of straight lines. As the value increases, the curve becomes fuller. The default value is 0.5f.