Polygon.Points 屬性

定義

取得或設定包含多邊形各頂點的集合。

public:
 property PointCollection ^ Points { PointCollection ^ get(); void set(PointCollection ^ value); };
PointCollection Points();

void Points(PointCollection value);
public PointCollection Points { get; set; }
var pointCollection = polygon.points;
polygon.points = pointCollection;
Public Property Points As PointCollection
<Polygon Points="pointSet"/>

屬性值

Point結構的集合,描述多邊形的頂點。 預設值是 null。 此值可以表示為 XAML 或類型轉換的字串。

適用於