op

fun op(rect: IRect, op: Region.Op): Boolean
fun op(left: Int, top: Int, right: Int, bottom: Int, op: Region.Op): Boolean

Replaces this region with result of this op rect.


fun op(region: Region, op: Region.Op): Boolean

Replaces this region with result of this op region.


fun op(rect: IRect, region: Region, op: Region.Op): Boolean
fun op(left: Int, top: Int, right: Int, bottom: Int, region: Region, op: Region.Op): Boolean

Replaces this region with result of rect op region.


fun op(region: Region, rect: IRect, op: Region.Op): Boolean
fun op(region: Region, left: Int, top: Int, right: Int, bottom: Int, op: Region.Op): Boolean

Replaces this region with result of region op rect.


fun op(regionA: Region, regionB: Region, op: Region.Op): Boolean

Replaces this region with result of regionA op regionB.