Package com.ardor3d.input
Class MouseCursor
java.lang.Object
com.ardor3d.input.MouseCursor
An immutable representation of a mouse cursor. A mouse cursor consists of an image and a hotspot where clicking is
done.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MouseCursor
This constant is used to identify that the native operating system's default cursor should be used. -
Constructor Summary
ConstructorDescriptionMouseCursor
(String name, Image image, int hotspotX, int hotspotY) Instantiates a MouseCursor. -
Method Summary
-
Field Details
-
SYSTEM_DEFAULT
This constant is used to identify that the native operating system's default cursor should be used. It is not a valid mouse cursor in itself.
-
-
Constructor Details
-
MouseCursor
Instantiates a MouseCursor.- Parameters:
name
- the name of this cursor, for debugging purposes.image
- the image that will be shown when this cursor is active.hotspotX
- the X coordinate of the clicking hotspot, 0 = left sidehotspotY
- the Y coordinate of the clicking hotspot, 0 = bottom
-
-
Method Details