In This Topic
Draws an ellipse with the specified Brush and Pen.
Syntax
'Declaration
Sub DrawEllipse( _
ByVal As Brush, _
ByVal As Pen, _
ByVal As Point, _
ByVal As Double, _
ByVal 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)
void DrawEllipse(
Brush ,
Pen ,
Point ,
double ,
double
)
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