PathFigureCollection Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy PathFigureCollection.
Przeciążenia
| Nazwa | Opis |
|---|---|
| PathFigureCollection() |
Inicjuje nowe wystąpienie klasy PathFigureCollection. |
| PathFigureCollection(IEnumerable<PathFigure>) |
Inicjuje PathFigureCollection nowe wystąpienie klasy zawierającej określone PathFigure obiekty. |
| PathFigureCollection(Int32) |
Inicjuje PathFigureCollection nowe wystąpienie klasy, które początkowo może zawierać określoną liczbę PathFigure obiektów. |
PathFigureCollection()
Inicjuje nowe wystąpienie klasy PathFigureCollection.
public:
PathFigureCollection();
public PathFigureCollection();
Public Sub New ()
Dotyczy
PathFigureCollection(IEnumerable<PathFigure>)
Inicjuje PathFigureCollection nowe wystąpienie klasy zawierającej określone PathFigure obiekty.
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))
Parametry
- collection
- IEnumerable<PathFigure>
Kolekcja PathFigure obiektów, które łącznie tworzą geometrię obiektu Path.
Wyjątki
Parametr collection ma wartość null.
Dotyczy
PathFigureCollection(Int32)
Inicjuje PathFigureCollection nowe wystąpienie klasy, które początkowo może zawierać określoną liczbę PathFigure obiektów.
public:
PathFigureCollection(int capacity);
public PathFigureCollection(int capacity);
new System.Windows.Media.PathFigureCollection : int -> System.Windows.Media.PathFigureCollection
Public Sub New (capacity As Integer)
Parametry
- capacity
- Int32
Początkowa pojemność tego obiektu PathFigureCollection.