Built-in rectangle intersection function?
Someone once told me VB.net had some built-in function to che开发者_运维技巧ck if two rectangles intersected. But I cannot find it... can someone help me?
EDIT:
you can use Rectangle's IntersectsWith()
r1.IntersectWith(r2)
精彩评论