expand

fun BoxCoordinates.expand(rowExpansion: Int, colExpansion: Int): BoxCoordinates

Expands the box by the specified number of rows and columns.

Return

A new BoxCoordinates instance with the expanded dimensions.

Parameters

rowExpansion

The number of additional rows to add to the box.

colExpansion

The number of additional columns to add to the box.