|
PointCollection Public Methods
|
Add
|
|
Adds a Point to this Collection and Returns its position |
Public Function Add(ByVal NewPoint As Point) As Object
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
NewPoint
As
Point
|
Return Value:
|
|
Object |
|
|
AddAt
|
|
Adds a Point to this Collection at a given position |
Public Sub AddAt(ByVal Index As Int32, ByVal NewPoint As Point)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Index
As
Int32
ByVal
NewPoint
As
Point
|
Return Value:
|
|
Void |
|
|
AddIfNew
|
|
Adds a Point to this Collection and Returns its position if it isn not already there; else, Returns its position |
Public Function AddIfNew(ByVal Candidate As Point) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Candidate
As
Point
|
Return Value:
|
|
Int32 |
|
|
AddRange
|
|
Adds an Array of Points to this Collection |
Public Sub AddRange(ByVal PointArray As Point[])
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
PointArray
As
Point[]
|
Return Value:
|
|
Void |
|
|
AddRange
|
|
Adds a PointCollection to this Collection |
Public Sub AddRange(ByVal PtCol As PointCollection)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
PtCol
As
PointCollection
|
Return Value:
|
|
Void |
|
|
Clone
|
|
Creates a Shallow Copy of this Collection |
Public Function Clone() As PointCollection
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
PointCollection |
|
|
Contains
|
|
Returns True iff this Collection Contains a given Point |
Public Function Contains(ByVal Pt As Point) As Boolean
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Pt
As
Point
|
Return Value:
|
|
Boolean |
|
|
Copy
|
|
Creates a Deep Copy of this Collection |
Public Function Copy() As PointCollection
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
PointCollection |
|
|
IndexOf
|
|
Returns The Index of Pt if found in the list; otherwise, -1 |
Public Function IndexOf(ByVal Pt As Point) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Pt
As
Point
|
Return Value:
|
|
Int32 |
|
|
Remove
|
|
Removes a given Point from this Collection |
Public Sub Remove(ByVal Removee As Point)
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
Removee
As
Point
|
Return Value:
|
|
Void |
|
|
Reverse
|
|
Returns a Collection of the elements in this Collection, but in Reversed order |
Public Function Reverse() As PointCollection
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
PointCollection |
|
|
ToArray
|
|
Converts this Collection to an Array of Points |
Public Function ToArray(ByRef PointArray As Point[]) As Int32
|
Remarks:
|
|
|
Parameters:
|
|
ByRef
PointArray
As
Point[]
|
Return Value:
|
|
Int32 |
|
|
ToString
|
|
Returns a String Representing this PointCollection; has option of printing on Multiple Lines |
Public Overloads Function ToString(ByVal MultiLine As Boolean) As String
|
Remarks:
|
|
|
Parameters:
|
|
ByVal
MultiLine
As
Boolean
|
Return Value:
|
|
String |
|
|
ToString
|
|
Returns a String Representing this PointCollection; prints on One Line |
Public Overloads Overrides Function ToString() As String
|
Remarks:
|
|
|
Parameters:
|
|
|
Return Value:
|
|
String |
|
|
|
|