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

Draws an ellipse on a GdPicture image.

C#
public GdPictureStatus DrawEllipse(
    int ImageID, 
    int DstLeft, 
    int DstTop, 
    int Width, 
    int Height, 
    Color PenColor, 
    int PenWidth, 
    Boolean AntiAlias
);
Visual Basic
Public Function DrawEllipse(
    ByVal ImageID As Integer, 
    ByVal DstLeft As Integer, 
    ByVal DstTop As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer, 
    ByVal PenColor As Color, 
    ByVal PenWidth As Integer, 
    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.  
DstTop 
Specifies the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse.  
Width 
Specifies the width of the rectangle that bounds the ellipse.  
Height 
specifies the height of the rectangle that bounds the ellipse.  
PenColor 
Color Object. You can build a Color Object using the ARGB() function. Color used to draw the ellipse.  
PenWidth 
The width in pixel of the pen used to draw the ellipse.  
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.