[This is preliminary documentation and is subject to change.]

The Rectangle2 type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Contains(Single, Single, Single, Single, Single, Single)
Indicates whether or not a point is contained within an axis-aligned rectangle.
Contains(Single, Single, Single, Single, Single, Single, Single, Single)
Indicates whether or not an axis-alighed rectangle (B) is fully contained within another axis-aligned rectangle (A).
IntersectsAABB(Single, Single, Single, Single, Single, Single, Single, Single)
Indicates whether or not two axis-aligned rectangles intersect.

See Also