Returns the mouse cursor image with the given index.
The index of the mouse cursor image.
The mouse cursor image.
Returns the number of mouse cursors.
THe number of mouse cursors.
Creates and returns a new canvas containing all the mouse cursors.
The created canvas.
Creates and returns an image data URL of an image with all mouse cursors.
Optional
type: stringOptional image mime type. Defaults to image/png.
Optional
quality: numberOptional quality parameter for encoder. For image/jpeg this is the image quality between 0 and 1 with a default value of 0.92.
The created data URL.
Creates and returns a HTML image with all mouse cursors.
Optional
type: stringOptional image mime type. Defaults to image/png.
Optional
quality: numberOptional quality parameter for encoder. For image/jpeg this is the image quality between 0 and 1 with a default value of 0.92.
The created HTML image.
Static
fromParses the mouse cursor images from the given array and returns it.
The array with the CURS file content to parse.
The parsed mouse cursors.
Static
fromReads mouse cursor images from the given blob and returns it.
The CURS blob to read.
The read mouse cursors.
Container for the 8 mouse cursors in the CURS file.