'Declaration
Public Function DrawFilledPolygonTextureFromFile( _ ByVal ImageID As Integer, _ ByVal TextureFilePath As String, _ ByVal arPoints() As GdPicturePoint, _ ByVal FillMD As GdPictureFillMode, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, string TextureFilePath, GdPicturePoint[] arPoints, GdPictureFillMode FillMD, bool AntiAlias )
public function DrawFilledPolygonTextureFromFile( ImageID: Integer; TextureFilePath: String; arPoints: GdPicturePointarray of; FillMD: GdPictureFillMode; AntiAlias: Boolean ): GdPictureStatus;
public function DrawFilledPolygonTextureFromFile( ImageID : int, TextureFilePath : String, arPoints : GdPicturePoint[], FillMD : GdPictureFillMode, AntiAlias : boolean ) : GdPictureStatus;
public: GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, string* TextureFilePath, GdPicturePoint[]* arPoints, GdPictureFillMode FillMD, bool AntiAlias )
public: GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, String^ TextureFilePath, array<GdPicturePoint>^ arPoints, GdPictureFillMode FillMD, bool AntiAlias )
Parameters
- ImageID
- GdPicture image identifier.
- TextureFilePath
- The texture source file path. Can be an empty string. If empty, prompts the user to select a file. You can subsequently use the GetLastPath() method to retrieve the path of the selected 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.
Return Value
A member of the GdPictureStatus enumeration.