The ShapeCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ShapeCollection()()()() |
Create a new empty collection of shapes.
| |
| ShapeCollection(Double, Double) |
Create a new empty collection of shapes. Positioned at 0,0.
| |
| ShapeCollection(Double, Double, Double, Double) |
Create a new empty collection of shapes.
| |
| ShapeCollection(Double, Double, Double, Double, Double, Double) |
Create a new empty collection of shapes.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Add an existing shape to this collection.
| |
| AddRange(array<Shape>[]()[][]) |
Adds the elements of a Shape array to the end of this collection.
| |
| AddRange(ShapeCollection) |
Adds the elements of a ShapeCollection to the end of this collection.
| |
| Clear |
Remove all shapes from this collection.
| |
| Clone |
Clones a Shape.
(Overrides Shape..::..Clone()()()().) | |
| Compose |
Overide this method to construct custom shapes.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator |
Implements GetEnumerator.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf |
Returns the index of the specified shape.
| |
| Insert |
Insert an existing shape at the specified index.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| Remove |
Remove a shape from this collection.
| |
| RemoveAt |
Remove a shape at the specified index.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| BottomMargin |
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Clip |
Clip child shapes. Default is true.
| |
| ClipPath |
The clip path to use.
| |
| Count |
Number of shapes in this collection.
| |
| Dock |
How this shape is docked.
(Inherited from Shape.) | |
| Height |
Height of this shape with respect to parent coordinate system.
| |
| ID |
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.) | |
| Item |
Get a shape by index (0-based).
| |
| LeftMargin |
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Opacity |
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.) | |
| RightMargin |
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Rotation |
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.) | |
| RotationOffsetX |
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| RotationOffsetY |
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| TopMargin |
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| VirtualHeight |
The height of the virtual canvas on which child shapes are positioned.
This implies a coordinate system transformation.
| |
| VirtualWidth |
The width of the virtual canvas on which child shapes are positioned.
This implies a coordinate system transformation.
| |
| Width |
Width of this shape with respect to parent coordinate system.
| |
| X |
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) | |
| Y |
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) |