Polygon.Points property

Applies to Windows and Windows Phone

Gets or sets a collection that contains the vertex points of the polygon.

Syntax


public PointCollection Points { get; set; }


<Polygon Points="pointSet"/>

XAML Values

pointSet

One or more Point values with each x-y pair delimited by a single comma and/or one or more spaces. Either a space or a comma can be the delimiter and they can be used interchangeably. For example, "0,0 100,100", "0,0,100,100" and "0 0 100 100" are all valid and equivalent. The usual convention is to use a comma between the x and y of a point, and spaces between the x,y pairs.

Property value

Type: PointCollection

A collection of Point structures that describes the vertex points of the polygon. The default is null. The value can be expressed as a string for XAML or type conversion.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Shapes
Windows::UI::Xaml::Shapes [C++]

Metadata

Windows.winmd

See also

Polygon

 

 

Show:
© 2014 Microsoft