PointCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Applies to
.NET