gridClippingRect property

MutableRect get gridClippingRect

The content rectangle widened horizontally by the grid line width, in pixels, so grid lines at the edges are not cut in half.

Implementation

MutableRect get gridClippingRect {
  gridClippingRectBuffer.setFrom(viewPortHandler.contentRect);
  gridClippingRectBuffer.inset(
    -Utils.convertDpToPixel(axis.gridLineWidth),
    0,
  );
  return gridClippingRectBuffer;
}