Region.containsPoint

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

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

Type: cairo.types.Bool

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