Click or drag to resize
DrawingWindowDrawFilledEllipse Method (Double, Double, Double, Double)
Draws a filled ellipse with the specified semimajor and semiminor axes, centered at (X, Y).

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public DrawingVisual DrawFilledEllipse(
	double x,
	double y,
	double semiMajorAxis,
	double semiMinorAxis
)

Parameters

x
Type: SystemDouble
the X-coordinate of the center of the ellipse
y
Type: SystemDouble
the Y-coordinate of the center of the ellipse
semiMajorAxis
Type: SystemDouble
is the semimajor axis of the ellipse
semiMinorAxis
Type: SystemDouble
is the semiminor axis of the ellipse

Return Value

Type: DrawingVisual
A drawing visual as handle to the drawing
Exceptions
ExceptionCondition
ArgumentExceptionif either axis is negative
See Also