Class PointCollection
Represents a collection of Point values that can be individually accessed by index.
Implements
System.Collections.Generic.IList<Point>
System.Collections.Generic.ICollection<Point>
System.Collections.Generic.IEnumerable<Point>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class PointCollection : PresentationFrameworkCollection<Point>, IDependencyObject, IList<Point>, ICollection<Point>, IEnumerable<Point>, IList, ICollection, IEnumerable
Constructors
| Improve this Doc View SourcePointCollection()
Initializes a new instance of the PointCollection class.
Declaration
public PointCollection()
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.
Declaration
public PointCollection(IEnumerable<Point> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Point> | points | The collection whose items are copied to the new PointCollection. |
PointCollection(Int32)
Initializes a new instance of the PointCollection class with the specified capacity.
Declaration
public PointCollection(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | The number of Point values that the collection is initially capable of storing. |
Methods
| Improve this Doc View SourceParse(String)
Converts a String representation of a collection of points into an equivalent PointCollection.
Declaration
public static PointCollection Parse(string source)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The System.String representation of the collection of points. |
Returns
Type | Description |
---|---|
PointCollection | The equivalent PointCollection. |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable