setRect

fun setRect(rect: IRect): Boolean

Sets this region to rect. Returns true if rect is not empty.


fun setRect(left: Int, top: Int, right: Int, bottom: Int): Boolean

Sets this region to left, top, right, bottom.