cursor(cursor, [x], [y])

Class: CheckBoxMenuItem. Method inherited from UIComponent.

Description:

Sets a cursor to the control. Passing NULL value removes custom cursor.

Parameters:

Name Type Description

cursor

number | null | string

A value from Cursor enum, or a relative path to image file for custom cursor icon.

[x]

number

Used with custom image cursor to set pointer point on the image.

[y]

number

Used with custom image cursor to set pointer point on the image.

Returns:

Returns this component.

Type: this