drawRect abstract method
Draws a rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.
Implementation
void drawRect(Rect rect, Paint paint);
Draws a rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.
void drawRect(Rect rect, Paint paint);