You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Drawing (Shapes) > DrawFilledPie Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.DrawFilledPie Method

Draws a filled pie on a GdPicture image.

C#
public GdPictureStatus DrawFilledPie(
    int ImageID, 
    int DstLeft, 
    int DstTop, 
    int Width, 
    int Height, 
    Single StartAngle, 
    Single SweepAngle, 
    Color FillColor, 
    Boolean AntiAlias
);
Visual Basic
Public Function DrawFilledPie(
    ByVal ImageID As Integer, 
    ByVal DstLeft As Integer, 
    ByVal DstTop As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer, 
    ByVal StartAngle As Single, 
    ByVal SweepAngle As Single, 
    ByVal FillColor As Color, 
    ByVal AntiAlias As Boolean
) As GdPictureStatus
Parameters
Parameters 
Description 
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 Object. You can build a Color Object using the ARGB() function. Color used to fill the pie.  
AntiAlias 
Set to True to apply the Antialiasing algorithm else False.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.