The Rect type exposes the following members.

Constructors

  NameDescription
Public methodRect
Initializes a new instance of the Rect class

Methods

  NameDescription
Public methodEquals(Object) (Overrides ValueType..::..Equals(Object).)
Public methodEquals(Rect)
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 ValueType..::..GetHashCode()()()().)
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 methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Operators

  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality

Fields

  NameDescription
Public fieldHeight
Public fieldWidth
Public fieldX
Public fieldY

Properties

  NameDescription
Public propertyCenter
Public propertySize

See Also