We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi, nice library, wondering if it's possible to do hit detection on a shape, ie: to know which shape the mouse is over?
thanks
The text was updated successfully, but these errors were encountered:
Yes, a Path object has a .contains method that takes an x/y argument. This also works on a Group.
Path
.contains
Group
Sorry, something went wrong.
Here's the source:
g.js/src/libraries/vg/objects/path.js
Line 396 in 88c9dea
No branches or pull requests
hi, nice library, wondering if it's possible to do hit detection on a shape,
ie: to know which shape the mouse is over?
thanks
The text was updated successfully, but these errors were encountered: