The ShapeCollection type exposes the following members.

Constructors

  NameDescription
Public methodShapeCollection()()()()
Create a new empty collection of shapes.
Public methodShapeCollection(Double, Double)
Create a new empty collection of shapes. Positioned at 0,0.
Public methodShapeCollection(Double, Double, Double, Double)
Create a new empty collection of shapes.
Public methodShapeCollection(Double, Double, Double, Double, Double, Double)
Create a new empty collection of shapes.

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.)

Properties

  NameDescription
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyClip
Clip child shapes. Default is true.
Public propertyClipPath
The clip path to use.
Public propertyCount
Number of shapes in this collection.
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyHeight
Height of this shape with respect to parent coordinate system.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyItem
Get a shape by index (0-based).
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyVirtualHeight
The height of the virtual canvas on which child shapes are positioned. This implies a coordinate system transformation.
Public propertyVirtualWidth
The width of the virtual canvas on which child shapes are positioned. This implies a coordinate system transformation.
Public propertyWidth
Width of this shape with respect to parent coordinate system.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)

See Also