Namespace: rlCursors

rlCursors

Builtin ready-to-use cursor definitions.

Members

(private, static, constant) defCursorSideLength

Default Value:
  • 18

Methods

(static) getDefaultCursorImage() → {HTMLImageElement}

Get the current built-in default cursor image.

See:
Returns:
Type
HTMLImageElement

(static) remakeDefaultCursorImage(width, height) → {HTMLImageElement}

Remake the built-in default cursor image. Use this if you need a bigger default cursor.

Parameters:
Name Type Description
width number

the width of the new cursor image in pixels

height number

the height of the new cursor image in pixels

See:
Returns:
Type
HTMLImageElement