contains

fun contains(xPx: Float, yPx: Float): Boolean

Whether a point lies inside this rectangle, including its edges.