JavaScript Graphics Library (JSGL.org) Draw and move interactive vector graphics easily in Javascript!

Cursor (enum jsgl.Cursor)

jsgl.Cursor is an enumeration which you to specify the appearance of the mouse pointer when moved onto objects.

The currently supported values are:

Name Description
DEFAULT Use the default cursor for the user's web browser/operating system (often rendered as an arrow).
INHERIT Inherit the cursor from the parent element (when nesting elements using groups).
POINTER Pointer (hand) cursor, typically indicating that clicking the object will result in some action.
CROSSHAIR Cursor rendered as a crosshair.
HELP Indicates that help is available for the object under the cursor (often rendered as a question mark or a balloon).
TEXT Indicates text that may be selected. Often rendered as an I-beam.
WAIT Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.
PROGRESS A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
MOVE Indicates something is to be moved.
N_RESIZE Indicates that the north edge of some box is to be moved.
NE_RESIZE Indicates that the north and the east edges of some box are to be moved.
E_RESIZE Indicates that the east edge of some box is to be moved.
SE_RESIZE Indicates that the east and the south edges of some box are to be moved.
S_RESIZE Indicates that the south edge of some box is to be moved.
SW_RESIZE Indicates that the south and the west edges of some box are to be moved.
W_RESIZE Indicates that the west edge of some box is to be moved.
NW_RESIZE Indicates that the north and the west edges of some box are to be moved.

References

 
cursor.txt · Last modified: 2013/03/14 03:16 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Driven by DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS