語言

PathGeometry.Figures 屬性

定義

取得或設定描述路徑內容的 PathFigure 物件集合。

public:
 property PathFigureCollection ^ Figures { PathFigureCollection ^ get(); void set(PathFigureCollection ^ value); };
PathFigureCollection Figures();

void Figures(PathFigureCollection value);
public PathFigureCollection Figures { get; set; }
var pathFigureCollection = pathGeometry.figures;
pathGeometry.figures = pathFigureCollection;
Public Property Figures As PathFigureCollection
<PathGeometry>
  <PathGeometry.Figures>
    oneOrMoreFigures
  </PathGeometry.Figures>
</PathGeometry>

屬性值

一組描述路徑內容的 PathFigure 物件集合。 每個 路徑圖 描述一個形狀。

備註

你想要多個 路徑圖形 的主要原因是,如果你想把整體 路徑幾何 視為一個向量圖,可以「重新開始」線條,並用 IsClosed 來關閉每個圖形。

適用於

另請參閱