PointCollection Constructors

Definition

Initializes a new instance of the PointCollection class.

Overloads

PointCollection()

Initializes a new instance of the PointCollection class.

PointCollection(IEnumerable<Point>)

Initializes a new instance of the PointCollection class that contains items copied from the specified collection of Point values and has the same initial capacity as the number of items copied.

PointCollection(Int32)

Initializes a new instance of the PointCollection class with the specified capacity.

PointCollection()

Initializes a new instance of the PointCollection class.

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

Applies to

PointCollection(IEnumerable<Point>)

Initializes a new instance of the PointCollection class that contains items copied from the specified collection of Point values and has the same initial capacity as the number of items copied.

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

Parameters

collection
IEnumerable<Point>

The collection whose items are copied to the new PointCollection.

Exceptions

collection is null.

Applies to

PointCollection(Int32)

Initializes a new instance of the PointCollection class with the specified capacity.

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

Parameters

capacity
Int32

The number of Point values that the collection is initially capable of storing.

Applies to