Bitset.addRectangle

void addRectangle(uint start, uint width, uint height, uint stride)

Interprets the values as a 2-dimensional boolean grid with the given stride and inside that grid, adds a rectangle with the given width and height.

Parameters

startfirst value to add
widthwidth of the rectangle
heightheight of the rectangle
striderow stride of the grid