Public Methods

  Name Description
Public method Deflate Deflates the rectangle by moving its sides toward its center. To do this, Deflate adds units to the left and bottom and subtracts units from the right and top.
Public method Inflate Inflates the rectangle by moving its sides away from its center. To do this, Inflate subtracts units from the left and bottom and adds units to the right and top.
Public method Intersects Returns a value that indicates whether a rectangle intersects another rectangle.
Public method IsPointIn Returns a value that indicates whether a Point falls within the Rectangle.
Public method Offset Moves the rectangle object by the specified offset horizontally and vertically.
Public method Union Changes the Rectangle object to a Rectangle object that represents the geometric union of itself and a Point object.
Public method UnionRectangle Changes the Rectangle to a Rectangle that represents the geometric union of itself and the specified Rectangle object.
Top

See Also