selection
selection copied to clipboard
Selecting non-rectangular elements
Discussed in https://github.com/Simonwep/selection/discussions/155
Originally posted by roonie007 January 22, 2022 How can I select this SVG element only when the mouse is over the line

What is actually happening, is when ever the mouse enter the SVG RectBound element even on the transparent area the item is selected (check the picture below):

What I am looking for is, how to trigger the selection only when the mouse is over the line ? Thanks
@Simonwep Any help on this ?
This is out-of-scope for this library, I can only suggest you to implement a fraction of this library where you can draw a shape of your choice... :/