contains

operator fun contains(point: IntOffset): Boolean(source)

Returns whether a coordinate lies inside this half-open rectangle.

Return

true only for coordinates on or after the inclusive edges and before the exclusive edges.

Parameters

point

the coordinate to test.