Improving API for drawing tiles in a grid.