Region.containsPoint

Checks whether (x, y) is contained in region. Since 1.10

class Region
containsPoint
(
int x
,
int y
)

Parameters

x int

the x coordinate of a point

y int

the y coordinate of a point

Return Value

TRUE if (x, y) is contained in region, FALSE if it is not.