Click or drag to resize
DrawingWindowDrawFilledEllipse Method (DrawingVisual, 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 void DrawFilledEllipse(
	DrawingVisual v,
	double x,
	double y,
	double semiMajorAxis,
	double semiMinorAxis
)

Parameters

v
Type: System.Windows.MediaDrawingVisual
The rendered visual
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
Exceptions
ExceptionCondition
ArgumentExceptionif either axis is negative
See Also