Place in the canvas to draw the texture to. If a rectangle is given, the image will stretch to fix this box.
Color to multiply the image by. Can be used to reduce opacity, darken or change color. Defaults to white (no change).
CanvasIO.drawImage, CanvasIO.drawHintedImage
Draw the image.
draw is the usual method, which enables scaling and filtering, likely making it preferable for most images. However, for images that have been generated (like text) or adjusted to display on the user's screen (like icons), drawHinted may be preferrable.