API.DrawEllipse Method

Draws an ellipse or elliptical arc
public static object DrawEllipse( 
   double x
   double y
   double r1
   double r2
   double angle = 0, 
   double startang = 0, 
   double endang = Calc.TwoPI, 
   int color = 258 
)

Parameters

x
double

Center X

y
double

Center Y

r1
double

Radius 1

r2
double

Radius 2

angle
double

Rotation angle (radians)

startang
double

Start angle for elliptical arc default is 0

endang
double

End angle for elliptical arc default is 2*PI

color
int

Color

Return Value

object

En ellipse

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition