The Rectangle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Rectangle()()()() |
Creates a new instance of the Rectangle class with (0,0,0,0)
| |
| Rectangle(SerializationInfo, StreamingContext) |
For serializing purposes only.
| |
| Rectangle(Double, Double, Double, Double) |
Create a new rectangle.
|
Methods
| Name | Description | |
|---|---|---|
| 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.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetObjectData |
For serializing purposes only.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| 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.) | |
| ToString |
Return a string in format '[' Left Bottom Width Height ']'.
(Overrides Object..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| Bottom |
The bottom position in points.
| |
| Height |
The rectangle height in points.
| |
| Left |
The left position in points.
| |
| Width |
The rectangle width in points.
|