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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.