PointCollection PointCollection PointCollection PointCollection Constructors

Definition

Overloads

PointCollection() PointCollection() PointCollection()

Initializes a new instance of the PointCollection class.

PointCollection(IEnumerable<Point>) PointCollection(IEnumerable<Point>) PointCollection(IEnumerable<Point>) 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) PointCollection(Int32) PointCollection(Int32) PointCollection(Int32)

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

PointCollection() PointCollection() PointCollection()

Initializes a new instance of the PointCollection class.

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

PointCollection(IEnumerable<Point>) PointCollection(IEnumerable<Point>) PointCollection(IEnumerable<Point>) 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

PointCollection(Int32) PointCollection(Int32) PointCollection(Int32) 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 Int32 Int32 Int32

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

Applies to