contains

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

Returns true if given point is inside the Rectangle.