'Declaration
Public Function DrawFilledPolygonTextureFromFile( _ ByVal ImageID As Integer, _ ByVal TextureFilePath As String, _ ByVal arPoints() As Point, _ ByVal FillMD As FillMode, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, string TextureFilePath, Point[] arPoints, FillMode FillMD, bool AntiAlias )
public function DrawFilledPolygonTextureFromFile( ImageID: Integer; TextureFilePath: String; arPoints: Pointarray of; FillMD: FillMode; AntiAlias: Boolean ): GdPictureStatus;
public function DrawFilledPolygonTextureFromFile( ImageID : int, TextureFilePath : String, arPoints : Point[], FillMD : FillMode, AntiAlias : boolean ) : GdPictureStatus;
public: GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, string* TextureFilePath, Point[]* arPoints, FillMode FillMD, bool AntiAlias )
public: GdPictureStatus DrawFilledPolygonTextureFromFile( int ImageID, String^ TextureFilePath, array<Point>^ arPoints, FillMode 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.