contains


Description:

public bool contains (int x, int y, CoordType ctype) throws Error

Queries whether a given Component contains a particular point.

Parameters:

this

a pointer to the Component to query.

x

a int specifying the x coordinate in question.

y

a int specifying the y coordinate in question.

ctype

the desired coordinate system of the point (x, y) (e.g. CSPI_COORD_TYPE_WINDOW, CSPI_COORD_TYPE_SCREEN).

Returns:

TRUE if the specified component contains the point (x, y), FALSE otherwise.