# drawColor method

void drawColor (Color color, BlendMode blendMode)

Paints the given Color onto the canvas, applying the given BlendMode, with the given color being the source and the background being the destination.

## Implementation

    void drawColor(Color color, BlendMode blendMode) {
      assert(color != null);
      assert(blendMode != null);
      _drawColor(color.value, blendMode.index);
    }