Share via


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 物件集合。 每個個別 PathFigure 都會描述圖形。

備註

您想要多個 PathFigure 的主要原因是,如果您想要將整體 PathGeometry 視為一個向量繪圖,以在不同的位置「重新啟動」線條,並使用 IsClosed 來關閉每個圖形。

適用於

另請參閱