Tests whether any portion of the specified rectangle is contained within this xtd::drawing::region when drawn using the specified xtd::drawing::graphics.
- Parameters
-
x | The x-coordinate of the upper-left corner of the rectangle to test. |
y | The y-coordinate of the upper-left corner of the rectangle to test. |
width | The width of the rectangle to test. |
height | The height of the rectangle to test. |
g | A xtd::drawing::graphics that represents a graphics context. |
- Returns
- true when any portion of the specified rectangle is contained within this xtd::drawing::region; otherwise, false.