Click or drag to resize
RadRect Methods

The RadRect type exposes the following members.

Public methodStatic memberCenterRect
Centers the specified rectangle within the provided available one.
Public methodContains
Determines if this RadRect instance contains the point that is described by the arguments.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFloor
Rounds the rectangle's value to the closest less than or equal to whole numbers.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodIntersectsWith
Determines whether the current rect intersects with the specified one.
Public methodIsSizeValid
Determines whether the size of this rect is valid - that is both Width and Height should be bigger than zero.
Public methodStatic memberRound
Rounds the rectangle's values by respecting the Width and Height.
Public methodStatic memberSubtract
Gets the difference between two RadRect structures.
Public methodStatic memberToSquare
Gets a rectangle that has equal width and height and is centered within the specified rect.
See Also