IsIntersect

Rectangle.IsIntersect method

لتحديد ما إذا كان هذا المستطيل يتقاطع مع مستطيل آخر.

public bool IsIntersect(Rectangle otherRect)
معامليكتبوصف
otherRectRectangleسيتم اختبار التقاطع باستخدام مستطيل محدد.

قيمة الإرجاع

صحيح إذا تقاطع هذا المستطيل مع مستطيل محدد. خلاف ذلك خطأ.

أنظر أيضا