EllipseF

References
Adds an Ellipse type to the Eto.Drawing namespace.

Constructors

EllipseF

#
Create a roated ellipse.
public EllipseF(
PointF
centre,
Centre of ellipse.
radiusX,
X radius.
radiusY,
Y radius.
angle
Rotation angle in degrees.
)

EllipseF

#
Create a horizontal ellipse.
public EllipseF(
PointF
centre,
Centre of ellipse.
radiusX,
X radius.
radiusY
Y radius.
)

Properties

Angle

#
Gets or sets the rotational angle of the ellipse (in degrees, clockwise).
public float Angle { get; set; }

Centre

#
Gets or sets the centre point of the ellipse.
public PointF Centre { get; set; }

Empty

#
Returns an empty ellipse.
public static EllipseF Empty { get; }

ImplicitEquation

#
Gets the equation for the current circle.
public EllipseImplicitEquation ImplicitEquation { get; }

IsEmpty

#
Gets whether this circle is empty, ie. has a radius of exactly zero.
public bool IsEmpty { get; }

IsUnset

#
Gets whether this circle is unset, ie. whether any of its values are NaNs.
public bool IsUnset { get; }

ParametericEquation

#
Gets the equation for the current circle.
public EllipseParametricEquation ParametericEquation { get; }

QuadXNegative

#
Gets the quad point along the ellipse negative X direction.
public PointF QuadXNegative { get; }

QuadXPositive

#
Gets the quad point along the ellipse positive X direction.
public PointF QuadXPositive { get; }

QuadYNegative

#
Gets the quad point along the ellipse negative Y direction.
public PointF QuadYNegative { get; }

QuadYPositive

#
Gets the quad point along the ellipse positive Y direction.
public PointF QuadYPositive { get; }

RadiusX

#
Gets or sets the x radius of the ellipse.
public float RadiusX { get; set; }

RadiusY

#
Gets or sets the y radius of the ellipse.
public float RadiusY { get; set; }

Unset

#
Returns an unset ellipse.
public static EllipseF Unset { get; }

Methods

BezierPoints

#
Create an array of four bezier control-points, one for each quadrant.
public PointF[][] BezierPoints()
Array containing four pointf arrays.

CompareTo

#
Compare this ellipse to another.
public int CompareTo(
other
Ellipse to compare to.
)
Sort order.

Equals

#
Compare one ellipse to another.
public bool Equals(
other
Ellipse to compare to.
)
True if ellipses are equal. Note that ellipses can have identical shape, yet be defined by different properties. This method checks field equality, not shape similarity.

ToPath

#
Create a graphics path containing this ellipse.
public GraphicsPath ToPath()
Graphics path.

ToPath

#
Create a graphics path containing a polyline approximation of some subsection of this ellipse.
public GraphicsPath ToPath(
angle,
Start angle (degrees, clockwise), although note we're talking parameterisation angles here.
sweep
Sweep angle (degrees, clockwise), although note we're talking parameterisation angles here.
)

ToString

#
Gets a string representation of this ellipse.
public override string ToString()
Description.