Polygon Constructor (Int32[])

[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 Polygon class with specified points.

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

Syntax

'Declaration
Public Sub New ( _
    pts As Integer() _
)
public Polygon(
    int[] pts
)
public:
Polygon(
    array<int>^ pts
)
new : 
        pts:int[] -> Polygon
public function Polygon(
    pts : int[]
)

Parameters

  • pts
    Type: array<System. . :: . .Int32> [] () [] []
    An array that contains the two coordinates for each of the polygon's points.

Remarks

Because a polygon is a closed two-dimensional shape with three or more straight sides, it must have at least three points.

.NET Framework Security

See Also

Reference

Polygon Class

Polygon Overload

Microsoft.SPOT.Presentation.Shapes Namespace