Path.inFill

bool inFill(graphene.point.Point point, gsk.types.FillRule fillRule)

Returns whether the given point is inside the area that would be affected if the path was filled according to fill_rule.

Note that this function assumes that filling a contour implicitly closes it.

Parameters

pointthe point to test
fillRulethe fill rule to follow

Returns

TRUE if point is inside