PointCollection Class

A type-safe collection of Point objects.

Definition

Namespace: EWSoftware.ImageMaps
Assemblies:  EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
  EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2023.1.3.0
[SerializableAttribute]
public class PointCollection : Collection<Point>
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

CountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionPoint)
ItemGets or sets the element at the specified index.
(Inherited from CollectionPoint)
ItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionPoint)

Methods

AddAdds an object to the end of the CollectionT.
(Inherited from CollectionPoint)
AddRange Add a range of Point objects from an enumerable list
ClearRemoves all elements from the CollectionT.
(Inherited from CollectionPoint)
ClearItemsRemoves all elements from the CollectionT.
(Inherited from CollectionPoint)
ContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionPoint)
CopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionPoint)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionPoint)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionPoint)
InsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionPoint)
InsertItemInserts an element into the CollectionT at the specified index.
(Inherited from CollectionPoint)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionPoint)
RemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionPoint)
RemoveItemRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionPoint)
SetItemReplaces the element at the specified index.
(Inherited from CollectionPoint)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also