-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
Feature Proposal
Currently, when you set a borderWidth
to an arc element, the width of the border is ignored by ArcElement
when inRange
method is invoked.
When a lineWidth
is set before drawing on the canvas, half with is part of the shape itself but half width is drawn outside the shape.
In my opinion, but correct me if I'm wrong, the border width should be take in consideration as part of the element.
Codepen: https://codepen.io/stockinail/pen/VwGzWZN
If you move the mouse, hovering the pie chart, you can see that the border will appear when the mouse point is in the middle of the border.
Possible Implementation
I havent seen the arc element code yet, therefore I can only write now, it should be considered.