DrawingWindowDrawEllipse Method (DrawingVisual, Double, Double, Double, Double) |
Draws an ellipse with the specified semimajor and semiminor axes,
centered at (X, Y).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void DrawEllipse(
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 See Also