-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
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
Feature request: interactivity #184
Comments
I saw similar questions in the past, but I still hope to expose some ways to implement the click function. (Or I didn't find it?😞) I am sorry to bother you! |
Hi Coyamo. When you say "converting svg to Android's path object", what do you mean exactly? What would be the input and output? I know other libraries have things like
I am working on a new version of Paul |
'converting svg to Android's path object' is just to get a Path object to implement the click event (check if the clicked coordinates are in the path). If you are implementing a click event, I don't think I need to get the path😳. Thank you for your reply, I am looking forward to your new version! |
For example, I might be able to getPath from the SVG object ,SVG.getFromX.getPath() ... |
Okay. Thanks. I will rename this issue to reflect your request. |
Hey @BigBadaboom. I'm researching your project for a corporate use case. I would need to be able to break down an SVG into separate components that can be individually clickable. I think this is what @Coyamo is also asking? Or if this is already possible somehow using your library, I'd love to learn how. In your sample app, it looks like the rubics cube is doing this... setting individual colors. Please advise. |
@DeutschDaniel Interactivity is not supported at the moment. But I intend for it to be in the next release. |
Hi Paul, Maybe we could provide some help, even if for test/debug/dev Thanks for you work, |
Hi all A new Dear reader. If you are waiting for this feature, it would be helpful if I had an idea of what level of API support each of you would need, or prefer.
Please reply with your list, sorted by preference. For example: 2, 3, 1. Thanks! |
1,2,7 Personally, these should meet the my needs. Thank you for your efforts |
Yeah 1, 2 would be perfect. 6, 7 could also work. |
Hi @BigBadaboom 1,2,6 and 7 would be really great to have features. Thanks |
Hey @BigBadaboom, I've implemented a bit of this for my application on my fork. I would love to give back to this library, therefore I was wondering, if there is anyway we could review the code change, so all of us could benefit. |
Hi Ishan
You could create a pull request if you like. Or summarise your changes in a document and create a bug (or email it to me). Thanks |
Can this excellent library expose more methods, such as converting svg to Android's path object, if possible, I hope you can add some functions to implement click events for different images in svg.😁
The text was updated successfully, but these errors were encountered: