Reference Guide
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
    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 Point, _
       ByVal FillMD As FillMode, _
       ByVal AntiAlias As Boolean _
    ) As GdPictureStatus
    public GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage( 
       int ImageID,
       int ImageTexture,
       Point[] arPoints,
       FillMode FillMD,
       bool AntiAlias
    )
    public function DrawFilledPolygonTextureFromGdPictureImage( 
        ImageID: Integer;
        ImageTexture: Integer;
        arPoints: Pointarray of;
        FillMD: FillMode;
        AntiAlias: Boolean
    ): GdPictureStatus; 
    public function DrawFilledPolygonTextureFromGdPictureImage( 
       ImageID : int,
       ImageTexture : int,
       arPoints : Point[],
       FillMD : FillMode,
       AntiAlias : boolean
    ) : GdPictureStatus;
    public: GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage( 
       int ImageID,
       int ImageTexture,
       Point[]* arPoints,
       FillMode FillMD,
       bool AntiAlias
    ) 
    public:
    GdPictureStatus DrawFilledPolygonTextureFromGdPictureImage( 
       int ImageID,
       int ImageTexture,
       array<Point>^ arPoints,
       FillMode 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
    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