GridSize Constructor

Constructor in GridSize

Declaration

public GridSize(int rows = 0, int columns = 0)

Description

Creates a new grid size with the specified rows and columns.

Parameters

rowsThe number of rows in the grid.
columnsThe number of columns in the grid.

Overload

Declaration

public GridSize(int size)

Description

Creates a new grid size with uniform rows and columns.

Parameters

sizeThe uniform size of the grid.