You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Drawing (Shapes) > DrawFilledPolygonTextureFromGdPictureImage Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.DrawFilledPolygonTextureFromGdPictureImage Method

Draws a filled polygon on a GdPicture image using a texture from a GdPicture image.

C#
public GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage(
    int ImageID, 
    int ImageTexture, 
    System.Drawing.Point arPoints, 
    FillMode FillMD, 
    Boolean AntiAlias
);
Visual Basic
Public Function DrawFilledPolygonTextureFromGdPictureImage(
    ByVal ImageID As Integer, 
    ByVal ImageTexture As Integer, 
    ByVal arPoints() As System.Drawing.Point, 
    ByVal FillMD As FillMode, 
    ByVal AntiAlias As Boolean
) As GdPictureStatus
Parameters
Parameters 
Description 
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.  
Returns

A member of the GdPictureStatus enumeration.

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

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.