Bitset.addRectangle

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.

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

Parameters

start uint

first value to add

width uint

width of the rectangle

height uint

height of the rectangle

stride uint

row stride of the grid

Meta