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

Draws a circle on a GdPicture image.

C#
public GdPictureStatus DrawCircle(
    int ImageID, 
    int DstLeft, 
    int DstTop, 
    int Diameter, 
    Color PenColor, 
    int PenWidth, 
    Boolean AntiAlias
);
Visual Basic
Public Function DrawCircle(
    ByVal ImageID As Integer, 
    ByVal DstLeft As Integer, 
    ByVal DstTop As Integer, 
    ByVal Diameter 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 center of the circle.  
DstTop 
Specifies the y-coordinate of the center of the circle.  
Diameter 
Diameter of the circle in pixel.  
PenColor 
Color Object. You can build a Color Object using the ARGB() function. Color used to draw the circle.  
PenWidth 
The width in pixel of the pen used to draw the circle.  
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.