GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / DrawFilledPolygonTextureFromGdPictureImage Method
GdPicture image identifier.
GdPicture image identifier. Source image used for the texture.
Array of System.Drawing.Point that specifies the vertices of the polygon.
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.A member of the Drawing2D.FillMode enumeration.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
DrawFilledPolygonTextureFromGdPictureImage Method (GdPictureImaging)
In This Topic
Draws a filled polygon on a GdPicture image using a texture from a GdPicture image.
Syntax
'Declaration
 
Public Function DrawFilledPolygonTextureFromGdPictureImage( _
   ByVal ImageID As Integer, _
   ByVal ImageTexture As Integer, _
   ByVal arPoints() As GdPicturePoint, _
   ByVal FillMD As GdPictureFillMode, _
   ByVal AntiAlias As Boolean _
) As GdPictureStatus
public GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage( 
   int ImageID,
   int ImageTexture,
   GdPicturePoint[] arPoints,
   GdPictureFillMode FillMD,
   bool AntiAlias
)
public function DrawFilledPolygonTextureFromGdPictureImage( 
    ImageID: Integer;
    ImageTexture: Integer;
    arPoints: GdPicturePointarray of;
    FillMD: GdPictureFillMode;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawFilledPolygonTextureFromGdPictureImage( 
   ImageID : int,
   ImageTexture : int,
   arPoints : GdPicturePoint[],
   FillMD : GdPictureFillMode,
   AntiAlias : boolean
) : GdPictureStatus;
public: GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage( 
   int ImageID,
   int ImageTexture,
   GdPicturePoint[]* arPoints,
   GdPictureFillMode FillMD,
   bool AntiAlias
) 
public:
GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage( 
   int ImageID,
   int ImageTexture,
   array<GdPicturePoint>^ arPoints,
   GdPictureFillMode FillMD,
   bool AntiAlias
) 

Parameters

ImageID
GdPicture image identifier.
ImageTexture
GdPicture image identifier. Source image used for the texture.
arPoints
Array of System.Drawing.Point that specifies the vertices of the polygon.
FillMD
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.A member of the Drawing2D.FillMode enumeration.
AntiAlias
Set to True to apply the Antialiasing algorithm else False.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

If the first and last coordinates in the points array are not identical, a line is drawn between them to close the polygon.
See Also