Share via


Ellipse Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the Ellipse class with the specified vertical and horizontal radiuses.

Namespace:  Microsoft.SPOT.Presentation.Shapes
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub New ( _
    xRadius As Integer, _
    yRadius As Integer _
)
public Ellipse(
    int xRadius,
    int yRadius
)
public:
Ellipse(
    int xRadius, 
    int yRadius
)
new : 
        xRadius:int * 
        yRadius:int -> Ellipse
public function Ellipse(
    xRadius : int, 
    yRadius : int
)

Parameters

  • xRadius
    Type: System. . :: . .Int32
    The maximum horizontal distance from the border of the ellipse to its center. That is, this value is the distance from the point on the ellipse where y=0 to the center of the ellipse.
  • yRadius
    Type: System. . :: . .Int32
    The maximum vertical distance from the border of the ellipse to its center. That is, this value is the distance from the point on the ellipse where x=0 to the center of the ellipse.

.NET Framework Security

See Also

Reference

Ellipse Class

Microsoft.SPOT.Presentation.Shapes Namespace