Draws a filled polygon on a GdPicture image using a texture from a file.
public GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, String TextureFilePath, System.Drawing.Point arPoints, FillMode FillMD, Boolean AntiAlias );
Public Function DrawFilledPolygonTextureFromFile( ByVal ImageID As Integer, ByVal TextureFilePath As String, ByVal arPoints() As System.Drawing.Point, ByVal FillMD As FillMode, ByVal AntiAlias As Boolean ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
TextureFilePath |
The texture source file path. If this parameter is empty, prompts the user to select a file. |
|
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. |
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.
|