Rect.containsPoint Method

Determines whether this rectangle contains the coordinates of a point.
 

Parameters

x

Type: Number
y

Type: Number

Return Value


Type: Boolean