Point Collection Class
A type-safe collection of Point objects.
Definition
Namespace: EWSoftware.ImageMaps
Assemblies: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2024.12.31.0
EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
Assemblies: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2024.12.31.0
EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
C#
[SerializableAttribute]
public class PointCollection : Collection<Point>VB
<SerializableAttribute>
Public Class PointCollection
Inherits Collection(Of Point)C++
[SerializableAttribute]
public ref class PointCollection : public Collection<Point>F#
[<SerializableAttribute>]
type PointCollection =
class
inherit Collection<Point>
end- Inheritance
- Object CollectionPoint PointCollection
Remarks
The class has a type-safe enumerator
Constructors
| PointCollection | Default constructor |
| PointCollection(IEnumerablePoint) | Construct a collection from an enumerable list of Point objects |
Properties
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionPoint) |
| Item | Gets or sets the element at the specified index. (Inherited from CollectionPoint) |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionPoint) |
Methods
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionPoint) |
| AddRange | Add a range of Point objects from an enumerable list |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionPoint) |
| ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionPoint) |
| Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionPoint) |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionPoint) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionPoint) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionPoint) |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionPoint) |
| InsertItem | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionPoint) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionPoint) |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionPoint) |
| RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionPoint) |
| SetItem | Replaces the element at the specified index. (Inherited from CollectionPoint) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |