GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / DrawFilledPie Method / DrawFilledPie(Int32,Single,Single,Single,Single,Single,Single,Int32,Boolean) Method
GdPicture image identifier.
Specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.
The y-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.
Specifies the width of the rectangle that bounds the ellipse in which to draw the pie.
Specifies the height of the rectangle that bounds the ellipse in which to draw the pie.
Specifies the angle, in degrees, between the x-axis and the starting point of the arc that defines the pie. A positive value specifies clockwise rotation.
The angle, in degrees, between the starting and ending points of the arc that defines the pie. A positive value specifies clockwise rotation.
Color of the filled pie. A suitable color value can be obtained by using the ARGBI() method.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
DrawFilledPie(Int32,Single,Single,Single,Single,Single,Single,Int32,Boolean) Method
In This Topic
Draws a filled pie on a GdPicture image. The filling color is specified with an integer value.
Syntax
'Declaration
 
Public Overloads Function DrawFilledPie( _
   ByVal ImageID As Integer, _
   ByVal DstLeft As Single, _
   ByVal DstTop As Single, _
   ByVal Width As Single, _
   ByVal Height As Single, _
   ByVal StartAngle As Single, _
   ByVal SweepAngle As Single, _
   ByVal FillColor As Integer, _
   ByVal AntiAlias As Boolean _
) As GdPictureStatus
public GdPictureStatus DrawFilledPie( 
   int ImageID,
   float DstLeft,
   float DstTop,
   float Width,
   float Height,
   float StartAngle,
   float SweepAngle,
   int FillColor,
   bool AntiAlias
)
public function DrawFilledPie( 
    ImageID: Integer;
    DstLeft: Single;
    DstTop: Single;
    Width: Single;
    Height: Single;
    StartAngle: Single;
    SweepAngle: Single;
    FillColor: Integer;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawFilledPie( 
   ImageID : int,
   DstLeft : float,
   DstTop : float,
   Width : float,
   Height : float,
   StartAngle : float,
   SweepAngle : float,
   FillColor : int,
   AntiAlias : boolean
) : GdPictureStatus;
public: GdPictureStatus DrawFilledPie( 
   int ImageID,
   float DstLeft,
   float DstTop,
   float Width,
   float Height,
   float StartAngle,
   float SweepAngle,
   int FillColor,
   bool AntiAlias
) 
public:
GdPictureStatus DrawFilledPie( 
   int ImageID,
   float DstLeft,
   float DstTop,
   float Width,
   float Height,
   float StartAngle,
   float SweepAngle,
   int FillColor,
   bool AntiAlias
) 

Parameters

ImageID
GdPicture image identifier.
DstLeft
Specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.
DstTop
The y-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.
Width
Specifies the width of the rectangle that bounds the ellipse in which to draw the pie.
Height
Specifies the height of the rectangle that bounds the ellipse in which to draw the pie.
StartAngle
Specifies the angle, in degrees, between the x-axis and the starting point of the arc that defines the pie. A positive value specifies clockwise rotation.
SweepAngle
The angle, in degrees, between the starting and ending points of the arc that defines the pie. A positive value specifies clockwise rotation.
FillColor
Color of the filled pie. A suitable color value can be obtained by using the ARGBI() method.
AntiAlias
Set to True to apply the Antialiasing algorithm else False.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also