drawRect method

void drawRect(
  1. Rect rect,
  2. Paint paint
)

Directly calls Canvas.drawRect

Implementation

void drawRect(Rect rect, Paint paint) => canvas.drawRect(rect, paint);