subGrid method

  1. @redeclare
Buffer subGrid(
  1. Rect bounds
)
override

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

The bounds must be within the grid's area.

Implementation

@redeclare
Buffer subGrid(Rect bounds) => Buffer._(_grid.subGrid(bounds));