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
start | first value to add |
width | width of the rectangle |
height | height of the rectangle |
stride | row stride of the grid |