contains

fun contains(x: Int, y: Int): Boolean

Returns true if point (x, y) is inside this region.


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

Returns true if rectangle (left, top, right, bottom) is fully inside this region.


operator fun contains(rect: IRect): Boolean

Returns true if rect is fully inside this region.


operator fun contains(region: Region): Boolean

Returns true if region is fully inside this region.