<![CDATA[Find out whether a point is placed within an area]]>Hi, is there a function that finds out whether a point is placed on a path? Let's say we have a square and we want to know if a and b are on that square or outside.. like this ->

|--------|
| | b
| |
| a |
| |
|--------|

a is on/in a square, b is not

]]>https://forum.drawbot.com/topic/205/find-out-whether-a-point-is-placed-within-an-areaRSS for NodeSat, 19 Sep 2020 07:19:51 GMTWed, 09 Oct 2019 09:55:53 GMT60<![CDATA[Reply to Find out whether a point is placed within an area on Wed, 09 Oct 2019 09:55:53 GMT]]>Hi, is there a function that finds out whether a point is placed on a path? Let's say we have a square and we want to know if a and b are on that square or outside.. like this ->

|--------|
| | b
| |
| a |
| |
|--------|

a is on/in a square, b is not

]]>https://forum.drawbot.com/post/669https://forum.drawbot.com/post/669Wed, 09 Oct 2019 09:55:53 GMT<![CDATA[Reply to Find out whether a point is placed within an area on Wed, 09 Oct 2019 09:59:42 GMT]]>@jansindl3r yes, have a look at BezierPath.pointInside(xy)
]]>https://forum.drawbot.com/post/670https://forum.drawbot.com/post/670Wed, 09 Oct 2019 09:59:42 GMT