CRaPI - Correct Robust and Perfect API

Rectangle2D Members

Rectangle2D overview

Public Instance Constructors

Rectangle2DOverloaded. Initializes a new instance of the Rectangle2D class.

Public Instance Properties

CentralPointGets the central point of the rectangle.
LowerLeftLower left corner of the Rectangle.
LowerRightLower right corner of the Rectangle.
UpperLeftUpper left corner of the Rectangle.
UpperRightUpper right corner of the Rectangle.

Public Instance Methods

Contains Checks if a Point2D is contained by this rectangle.
Equals (inherited from ValueType)Indicates whether this instance and a specified object are equal.
GetHashCode (inherited from ValueType)Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
ToString The string representation of the rectangle.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Rectangle2D Class | TeamYaffa.CRaPI.Utility Namespace