PathFigureCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PathFigureCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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幾何結構。
例外狀況
collection 是 null。
適用於
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容量為 。