Class Ellipse
- Namespace
- nanoFramework.Presentation.Shapes
- Assembly
- nanoFramework.Graphics.dll
Defines an ellipse shape.
public class Ellipse : Shape
- Inheritance
-
Ellipse
- Inherited Members
- Extension Methods
Constructors
Ellipse(int, int)
Initializes a new instance of the Ellipse class with the specified radii.
public Ellipse(int xRadius, int yRadius)
Parameters
Exceptions
- ArgumentException
Thrown when either radius is less than zero.
Methods
OnRender(DrawingContext)
Draws the ellipse on a Media.DrawingContext.
public override void OnRender(DrawingContext dc)
Parameters
dc
DrawingContextThe Media.DrawingContext on which to draw the ellipse.