selection icon indicating copy to clipboard operation
selection copied to clipboard

Selecting non-rectangular elements

Open roonie007 opened this issue 4 years ago • 1 comments

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

image

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):

image

What I am looking for is, how to trigger the selection only when the mouse is over the line ? Thanks

roonie007 avatar Jan 22 '22 02:01 roonie007

@Simonwep Any help on this ?

roonie007 avatar Feb 02 '22 01:02 roonie007

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... :/

simonwep avatar Jul 30 '23 08:07 simonwep