GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / DrawFilledCircleTextureFromFile Method
GdPicture image identifier.
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.
Specifies the x-coordinate of the center of the circle.
Specifies the y-coordinate of the center of the circle.
Diameter of the circle in pixel.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
DrawFilledCircleTextureFromFile Method (GdPictureImaging)
In This Topic
Draws a filled circle on a GdPicture image using a texture from a file.
Syntax
'Declaration
 
Public Function DrawFilledCircleTextureFromFile( _
   ByVal ImageID As Integer, _
   ByVal TextureFilePath As String, _
   ByVal DstLeft As Integer, _
   ByVal DstTop As Integer, _
   ByVal Diameter As Integer, _
   ByVal AntiAlias As Boolean _
) As GdPictureStatus
public GdPictureStatus DrawFilledCircleTextureFromFile( 
   int ImageID,
   string TextureFilePath,
   int DstLeft,
   int DstTop,
   int Diameter,
   bool AntiAlias
)
public function DrawFilledCircleTextureFromFile( 
    ImageID: Integer;
    TextureFilePath: String;
    DstLeft: Integer;
    DstTop: Integer;
    Diameter: Integer;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawFilledCircleTextureFromFile( 
   ImageID : int,
   TextureFilePath : String,
   DstLeft : int,
   DstTop : int,
   Diameter : int,
   AntiAlias : boolean
) : GdPictureStatus;
public: GdPictureStatus DrawFilledCircleTextureFromFile( 
   int ImageID,
   string* TextureFilePath,
   int DstLeft,
   int DstTop,
   int Diameter,
   bool AntiAlias
) 
public:
GdPictureStatus DrawFilledCircleTextureFromFile( 
   int ImageID,
   String^ TextureFilePath,
   int DstLeft,
   int DstTop,
   int Diameter,
   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.
DstLeft
Specifies the x-coordinate of the center of the circle.
DstTop
Specifies the y-coordinate of the center of the circle.
Diameter
Diameter of the circle in pixel.
AntiAlias
Set to True to apply the Antialiasing algorithm else False.

Return Value

A member of the GdPictureStatus enumeration.
See Also