The Rectangle type exposes the following members.

Constructors

  NameDescription
Public methodRectangle()()()()
Creates a new instance of the Rectangle class with (0,0,0,0)
Protected methodRectangle(SerializationInfo, StreamingContext)
For serializing purposes only.
Public methodRectangle(Double, Double, Double, Double)
Create a new rectangle.

Methods

  NameDescription
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData
For serializing purposes only.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 methodToString
Return a string in format '[' Left Bottom Width Height ']'.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyBottom
The bottom position in points.
Public propertyHeight
The rectangle height in points.
Public propertyLeft
The left position in points.
Public propertyWidth
The rectangle width in points.

See Also