Creates a pointer object
a Pointer object
These are options that control the behavior of a pointer object and the defaults are:
{
pointerShape: ['string','💧'],
colors: ['default'],
drag: 0,
size: 50,
rotation: 0,
xCharOffset: 0,
yCharOffset: 0,
xOffset: 0,
yOffset: 0
}
Internal function used by the pointer to initialize itself on the canvas
This function calls the init function from the canvas drawing, a user should rarely have to call this function or the init function manually
Optional
canvas: HTMLCanvasElementGenerated using TypeDoc
Class representing a pointer object.
Remarks
You can have several pointer objects concurrently. Each pointer object represents a literal "pointer".
Example