Rectangle.StrictlyOverlap Method
Thread safety: This method is thread-safe.
StrictlyOverlap(Rectangle rectangle)
Tells whether this rectangle overlaps another one (merely touching is not enough).Syntax
public System.Boolean StrictlyOverlap (
Rectangle rectangle
)
Parameters
rectangle
Type: Rectangle
Another rectangle.
Another rectangle.
Return Value
Type: System.Boolean
True if the rectangles overlap strictly (the common area is positive); otherwise False.
True if the rectangles overlap strictly (the common area is positive); otherwise False.
Remarks
If you do want to regard touching rectangles as overlapping, call Overlap instead.
Platforms
Windows, Linux, Android