outside.
Context.inStroke
cairo.types.Bool inStroke(double x, double y)Tests whether the given point is inside the area that would be affected by a cairo.context.Context.stroke operation given the current path and stroking parameters. Surface dimensions and clipping are not taken into account.
See cairo.context.Context.stroke, cairo.context.Context.setLineWidth, cairo.context.Context.setLineJoin, cairo.context.Context.setLineCap, cairo.context.Context.setDash, and cairo.context.Context.strokePreserve.
Parameters
x | X coordinate of the point to test |
y | Y coordinate of the point to test |
Returns
A non-zero value if the point is inside, or zero if