setRegion

fun setRegion(left: Int, top: Int, width: Int, height: Int)

Sets a square region of the bit matrix to true.

Parameters

left

The horizontal position to begin at (inclusive)

top

The vertical position to begin at (inclusive)

width

The width of the region

height

The height of the region