createAnchorFromOffset method

CellAnchor createAnchorFromOffset(
  1. CellOffset offset
)

Create a new CellAnchor at the specified x and y coordinates.

Implementation

CellAnchor createAnchorFromOffset(CellOffset offset) {
  return lines[offset.y].createAnchor(offset.x);
}