<< Click to Display Table of Contents >> NShape Reference
|
Determines whether the given rectangle intersects with the shape.
public abstract bool IntersectsWith(int x, int y, int width, int height) |
When testing for intersection, control points outside the shape's body are not taken into account.
Name |
Description |
---|---|
x, y, width, height |
Defines the rectangle to test. |
True, if the shape intersects with the given rectangle.
Name |
Description |
---|---|
ArgumentException |
Input rectangle is invalid. |