Share via


Points Property

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

Gets or sets a polygon's points.

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

Syntax

'Declaration
Public Property Points As Integer()
public int[] Points { get; set; }
public:
property array<int>^ Points {
    array<int>^ get ();
    void set (array<int>^ value);
}
member Points : int[] with get, set
function get Points () : int[]
function set Points (value : int[])

Property Value

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

Microsoft.SPOT.Presentation.Shapes Namespace