Function BitMap.setBitRect

Sets a rectangular portion of the bitmap to the specified value.

void setBitRect (
  const(Rect2) rect,
  const(bool) bit
) nothrow @nogc;