DrawFillClosedCurves Method

See Also     Examples     Applies To

Draws a filled closed curve into the native GdPicture image.

Syntax

object.DrawFillClosedCurves (*arPoints(), nColorARGB, nTension, nFillMode, bAntiAlias)

The DrawFillClosedCurves 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 vertices of the polygon.
nColorARGB Required. Long. 32-bit Color (ARGB) used to fill the polygon.
nTension Required. Single. Nonnegative real number that 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.
nFillMode Required. Long. Specifies how to fill a closed area that is within another closed area and that is created when the curve or path passes over itself.
Can be:
0: FillModeAlternate
1: FillModeWinding
bAntiAlias Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False.

Returns

Long. GdPictureStatus

Category

Draw (Lines and Shapes)





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.