drawRect method

void drawRect(
  1. Canvas c,
  2. Rect rect
)

Renders this nine box with the dimensions provided by rect.

Implementation

void drawRect(Canvas c, Rect rect) {
  draw(c, rect.left, rect.top, rect.width, rect.height);
}