Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawEllipse Method
The brush with which to fill the ellipse. This is optional, and can be null. If the brush is null, no fill is drawn.
The pen with which to stroke the ellipse. This is optional, and can be null. If the pen is null, no stroke is drawn.
The location of the center of the ellipse.
The horizontal radius of the ellipse.
The vertical radius of the ellipse.


In This Topic
    DrawEllipse Method
    In This Topic
    Draws an ellipse with the specified Brush and Pen.
    Syntax
    'Declaration
     
    
    Sub DrawEllipse( _
       ByVal brush As Brush, _
       ByVal pen As Pen, _
       ByVal center As Point, _
       ByVal radiusX As Double, _
       ByVal radiusY As Double _
    ) 
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim brush As Brush
    Dim pen As Pen
    Dim center As Point
    Dim radiusX As Double
    Dim radiusY As Double
     
    instance.DrawEllipse(brush, pen, center, radiusX, radiusY)

    Parameters

    brush
    The brush with which to fill the ellipse. This is optional, and can be null. If the brush is null, no fill is drawn.
    pen
    The pen with which to stroke the ellipse. This is optional, and can be null. If the pen is null, no stroke is drawn.
    center
    The location of the center of the ellipse.
    radiusX
    The horizontal radius of the ellipse.
    radiusY
    The vertical radius of the ellipse.
    See Also