DrawFillPolygon Method

See Also     Examples     Applies To

Draws a filled polygon into the native GdPicture image.

Syntax

object.DrawFillPolygon (*arPoints(), nColorARGB, nFillMode, bAntiAlias)

The DrawFillPolygon 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.
nFillMode Required. Long. Specifies how to fill a closed area that is within another closed area and that is created when the polygon 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.