← back to roto on ba3a.dev

fromBooleanArray

fun fromBooleanArray(width: Int, height: Int, bits: BooleanArray): Mask

A mask over a copy of bits, row-major from the top-left corner.