Region.containsPoint

cairo.types.Bool containsPoint(int x, int y)

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

Parameters

xthe x coordinate of a point
ythe y coordinate of a point

Returns

true if (x, y) is contained in region, false if it is not.