Create an RGBA image.
Create a paletted image.
Create an alpha mask.
Clear the image, replacing every pixel with given color.
Get data of the image in raw form.
Get color at given position. Position must be in image bounds.
Get a palette entry at given index.
Set color at given position. Does nothing if position is out of bounds.
Convert to an RGBA image.
Image data. Make sure to access data relevant to the current format.
Dots per inch for the X and Y axis. Defaults to 96, thus making a dot in the texture equivalent to a pixel.
Width and height of the texture, **in dots**. The meaning of a dot is defined by dpiX and dpiY
Palette data, if relevant. Access into an invalid palette index is equivalent to full white.
Image data. Make sure to access data relevant to the current format.
This number should be incremented after editing the image to signal CanvasIO that a change has been made.
Image data. Make sure to access data relevant to the current format.
Width and height of the texture, **in dots**. The meaning of a dot is defined by dpiX and dpiY
Image available to the CPU.