Generate a new drawing canvas with specified width and height.
Fill a rectangle on the drawing canvas with a specified color and coordinates.
Get the current drawing canvas as a PNG image (base64 encoded).
Get the current pixel data of the drawing canvas as JSON.