contains

open fun contains(view: T, point: Point): Boolean

Returns true if the point is within the View's bounds. This can be used to handle cases when the Behavior wants to control hit detection.

Parameters

view

being controlled

point

to check (in view's parent's coordinate system)