www.gnostice.com 

Ellipse Method

Top  Previous  Next

The Ellipse method draws an ellipse.  The center of the ellipse is the center of the specified bounding rectangle. If IsFill is True, then the Ellipse is filled with the current Brush. Otherwise, ellipse is not filled.

 

 

 

 

Syntax

 

 

[VC++]

void Ellipse(double X1, double Y1, double X2, double Y2, BOOL IsFill);

 

[C#]

public abstract new void Ellipse ( System.Double X1 , System.Double Y1 , System.Double X2 , System.Double Y2 , System.Boolean IsFill )

 

[VB]

Sub Ellipse(X1 As Double, Y1 As Double, X2 As Double, Y2 As Double, IsFill As Boolean)

 

 

 

 

Parameters

 

 

X

The logical x-coordinate of the upper-left corner of the bounding rectangle of the ellipse.

 

 

Y

The logical y-coordinate of the upper-left corner of the bounding rectangle of the ellipse.

 

 

IsFill

[in] Specifies whether to fill the ellipse with current BrushColor or not.

 

 

 

 

Example Code

 

 

For an example code, see Shapes