Package codedraw.events
Class MouseEnterEventArgs
java.lang.Object
codedraw.events.MouseEnterEventArgs
This argument is given when the mouse enters the canvas.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MouseEnterEventArgs
-
-
Method Details
-
getX
public int getX()Gets the distance in pixel from the left side of the canvas to the mouse.- Returns:
- the distance in pixel.
-
getY
public int getY()Gets the distance in pixel from the top side of the canvas to the mouse.- Returns:
- the distance in pixel.
-