Paints the given Color onto the canvas, applying the given TransferMode, with the given color being the source and the background being the destination.
Source
void drawColor(Color color, TransferMode transferMode) {
_drawColor(color.value, transferMode.index);
}