The current hit test for stroked paths simply checks to see if the projection from the point to the path is less than or equal to half the stroke width. This works in all cases except at the vertices when different stroke-linejoin types are specified. Pretty minor, but felt it was worth mentioning.
The current hit test for stroked paths simply checks to see if the projection from the point to the path is less than or equal to half the stroke width. This works in all cases except at the vertices when different stroke-linejoin types are specified. Pretty minor, but felt it was worth mentioning.