The Rectangle type exposes the following members.

Constructors

  NameDescription
Public methodRectangle()()()()
Initializes a new instance of the Rectangle class
Public methodRectangle(Point2D, Point2D)
Initializes a new instance of the Rectangle class
Public methodRectangle(Double, Double, Double, Double)
Initializes a new instance of the Rectangle class

Methods

  NameDescription
Public methodArea
Public methodCentroid
Public methodContains
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 (Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersect
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides Object..::..ToString()()()().)
Public methodTranslate

Properties

  NameDescription
Public propertyMaxPt
Public propertyMinPt

See Also