편집

다음을 통해 공유


PathFigureCollection Constructors

Definition

Initializes a new instance of the PathFigureCollection class.

Overloads

PathFigureCollection()

Initializes a new instance of the PathFigureCollection class.

PathFigureCollection(IEnumerable<PathFigure>)

Initializes a new instance of the PathFigureCollection class that contains the specified PathFigure objects.

PathFigureCollection(Int32)

Initializes a new instance of the PathFigureCollection class that can initially contain the specified number of PathFigure objects.

PathFigureCollection()

Initializes a new instance of the PathFigureCollection class.

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

Applies to

PathFigureCollection(IEnumerable<PathFigure>)

Initializes a new instance of the PathFigureCollection class that contains the specified PathFigure objects.

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))

Parameters

collection
IEnumerable<PathFigure>

The collection of PathFigure objects which collectively make up the geometry of the Path.

Exceptions

collection is null.

Applies to

PathFigureCollection(Int32)

Initializes a new instance of the PathFigureCollection class that can initially contain the specified number of PathFigure objects.

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

Parameters

capacity
Int32

The initial capacity of this PathFigureCollection.

Applies to