Skip to main content

Ellipse Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Shapes

Draws an ellipse.

public class Ellipse : Shape

Constructors​

Ellipse(int xRadius, int yRadius)​

public Ellipse(int xRadius, int yRadius)

Creates an ellipse with the given horizontal and vertical radii.

Methods​

OnRender(Media.DrawingContext dc)​

public override void OnRender(Media.DrawingContext dc)

Renders the ellipse to the drawing context.