contains

fun contains(x1: double, y1: double): Boolean
fun contains(x: int, y: int, width: int, height: int): Boolean