Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Intersect Method

Rectangle.Intersect Method

Determines the Rectangle structure that represents the intersection of two rectangles.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Intersect(Rectangle) Replaces this Rectangle with the intersection of itself and the specified Rectangle.
Public method Static member Supported by the XNA Framework Intersect(Rectangle, Rectangle) Returns a third Rectangle structure that represents the intersection of two other Rectangle structures. If there is no intersection, an empty Rectangle is returned.
Top
Show:
© 2015 Microsoft