You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using strokeCap 'butt' for a path I have drawn but my hittests are returning that I have clicked on the path when I click in the region that would be filled with strokeCap square.
The hittest should take into account the strokeCap.
The text was updated successfully, but these errors were encountered:
It is true that at the moment, strokeCap is not taken into consideration for hit-tests. But the hit-test code assumes cap and joints to be round, not squared. Since we're also offering hit-testing within a given tolerance of the actual stroke, implementing the other styles is not trivial. Perhaps we wait with doing so until with have the PathStroker code implemented that converts a stroked path to outlines, so we can then check within outlines in situations where we get results close to ends or joints that are outside of the stroke, and see how that performs...
Using strokeCap 'butt' for a path I have drawn but my hittests are returning that I have clicked on the path when I click in the region that would be filled with strokeCap square.
The hittest should take into account the strokeCap.
The text was updated successfully, but these errors were encountered: