subGrid method

Grid<T> subGrid(
  1. Rect bounds
)

Returns a sub-grid view into this grid within the given bounds.

The bounds must be within the grid's area.

Implementation

Grid<T> subGrid(Rect bounds) => Grid.view(this, bounds);