Table of Contents

Constructor Ellipse

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Ellipse(double, double, double, double)

Initializes a new ellipse from a center point and two radii.

public Ellipse(double centerX, double centerY, double radiusX, double radiusY)

Parameters

centerX double

X-coordinate of the center.

centerY double

Y-coordinate of the center.

radiusX double

Horizontal radius. Must be greater than zero.

radiusY double

Vertical radius. Must be greater than zero.

Exceptions

ArgumentOutOfRangeException

Thrown if radiusX or radiusY is not positive.