drawPaint method
- Paint paint
Fills the canvas with the given Paint.
To fill the canvas with a solid color and blend mode, consider drawColor instead.
Implementation
void drawPaint(Paint paint) {
assert(paint != null); // ignore: unnecessary_null_comparison
_drawPaint(paint._objects, paint._data);
}