setRegion(left /*int*/, top /*int*/, width /*int*/, height /*int*/) {
			if (top < 0 || left < 0) {
				throw new IllegalArgumentException('Left and top must be nonnegative');
			}
			if (height < 1 || width < 1) {
				throw new IllegalArgumentException('Height and width must be at least 1');
			}
			const right = left + width;
			const bottom = top + height;
			if (bottom > this.height || right > this.width) {
				throw new IllegalArgumentException('The region must fit inside the matrix');
			}
			const rowSize = this.rowSize;
			const bits = this.bits;
			for (let y = top; y < bottom; y++) {
				const offset = y * rowSize;
				for (let x = left; x < right; x++) {
					bits[offset + Math.floor(x / 32)] |= ((1 << (x & 0x1f)) & 0xFFFFFFFF);
				}
			}
		}
<p>Sets a square region of the bit matrix to true.</p>

@param left The horizontal position to begin at (inclusive)
@param top The vertical position to begin at (inclusive)
@param width The width of the region
@param height The height of the region