Saturn
Saturn

Reputation: 18149

Built-in rectangle intersection function?

Someone once told me VB.net had some built-in function to check if two rectangles intersected. But I cannot find it... can someone help me?

Upvotes: 0

Views: 932

Answers (1)

Bala R
Bala R

Reputation: 108957

EDIT:

you can use Rectangle's IntersectsWith()

r1.IntersectWith(r2)

Upvotes: 2

Related Questions