Ejemplo n.º 1
0
 public static bool MouseOver(Rectangle rectangle) => (MouseRectangle.Intersects(rectangle));
Ejemplo n.º 2
0
 public static bool MouseOver(int x, int y, int width, int height) => (MouseRectangle.Intersects(new Rectangle(x, y, width, height)));