PathFigureCollection 建構函式

定義

初始化 PathFigureCollection 類別的新執行個體。

多載

PathFigureCollection()

初始化 PathFigureCollection 類別的新執行個體。

PathFigureCollection(IEnumerable<PathFigure>)

初始化包含所指定 PathFigureCollection 物件之 PathFigure 類別的新執行個體。

PathFigureCollection(Int32)

初始化 PathFigureCollection 類別的新執行個體,這個執行個體最初可能含有指定數目的 PathFigure 物件。

PathFigureCollection()

初始化 PathFigureCollection 類別的新執行個體。

public:
 PathFigureCollection();
public PathFigureCollection ();
Public Sub New ()

適用於

PathFigureCollection(IEnumerable<PathFigure>)

初始化包含所指定 PathFigureCollection 物件之 PathFigure 類別的新執行個體。

public:
 PathFigureCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::PathFigure ^> ^ collection);
public PathFigureCollection (System.Collections.Generic.IEnumerable<System.Windows.Media.PathFigure> collection);
new System.Windows.Media.PathFigureCollection : seq<System.Windows.Media.PathFigure> -> System.Windows.Media.PathFigureCollection
Public Sub New (collection As IEnumerable(Of PathFigure))

參數

collection
IEnumerable<PathFigure>

PathFigure 物件集合,這個集合共同組成了 Path 的幾何。

例外狀況

collectionnull

適用於

PathFigureCollection(Int32)

初始化 PathFigureCollection 類別的新執行個體,這個執行個體最初可能含有指定數目的 PathFigure 物件。

public:
 PathFigureCollection(int capacity);
public PathFigureCollection (int capacity);
new System.Windows.Media.PathFigureCollection : int -> System.Windows.Media.PathFigureCollection
Public Sub New (capacity As Integer)

參數

capacity
Int32

這個 PathFigureCollection 的初始容量。

適用於