Bitset.removeRectangle

void removeRectangle(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, removes a rectangle with the given width and height.

Parameters

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