drawGridBackground method

void drawGridBackground(
  1. Canvas c
)

draws the grid background

Implementation

void drawGridBackground(Canvas c) {
  if (_drawGridBackground) {
    // draw the grid background
    c.drawRect(viewPortHandler!.getContentRect(), _gridBackgroundPaint!);
  }

  if (_drawBorders) {
    c.drawRect(viewPortHandler!.getContentRect(), _borderPaint!);
  }
}