Draw the shape on the specified canvas.
void drawOnCanvas(Canvas canvas, Rect rectangle, Paint paint);