The ShapeCollection type exposes the following members.

Methods

  NameDescription
Public methodAdd
Add an existing shape to this collection.
Public methodAddRange(array<Shape>[]()[][])
Adds the elements of a Shape array to the end of this collection.
Public methodAddRange(ShapeCollection)
Adds the elements of a ShapeCollection to the end of this collection.
Public methodClear
Remove all shapes from this collection.
Public methodClone
Clones a Shape.
(Overrides Shape..::..Clone()()()().)
Protected methodCompose
Overide this method to construct custom shapes.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Implements GetEnumerator.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of the specified shape.
Public methodInsert
Insert an existing shape at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodRemove
Remove a shape from this collection.
Public methodRemoveAt
Remove a shape at the specified index.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also