getOffset method

Offset getOffset(
  1. int column,
  2. int row
)

Implementation

Offset getOffset(int column, int row) {
  double x = 0;
  for (int i = 0; i < column; i++) {
    x += columnWidths[i];
  }
  double y = 0;
  for (int i = 0; i < row; i++) {
    y += rowHeights[i];
  }
  return Offset(x, y);
}