See Also Examples Applies To
Draws a closed curve into the native GdPicture image.
Syntax
object.DrawClosedCurves (*arPoints(), nPenWidth, nColorARGB, bAntiAlias)
The DrawClosedCurves syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| *arPoints() | Required. Input 1D or 2D Long Array. Pointer to an array of long that specify the coordinates that the cardinal spline passes through. |
| nPenWidth | Required. Long. The width in pixel of the pen used to draw the curve. |
| nColorARGB | Optional. Long. Default value is Black. 32-bit Color (ARGB) of the curve. |
| bAntiAlias | Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False. |
Returns
Long. GdPictureStatus
Remarks
In a closed cardinal spline, the curve continues through the last point in the points array and connects with the first point in the array.
Category
Draw (Lines and Shapes)