public class Mouse extends Object
Modifier and Type | Method and Description |
---|---|
static double |
getX()
Returns the x-coordinate in number of pixels
of the mouse cursor on the screen.
|
static double |
getY()
Returns the y-coordinate in number of pixels
of the mouse cursor on the screen.
|
static double |
maxX()
Returns the maximal x-coordinate in number of pixels
the mouse cursor may take.
|
static double |
maxY()
Returns the maximal y-coordinate in number of pixels
the mouse cursor may take.
|
public static double getX()
public static double getY()
public static double maxX()
public static double maxY()