Skip to content
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

SVG-Hittest #19

Open
mdwem opened this issue Jul 14, 2015 · 0 comments
Open

SVG-Hittest #19

mdwem opened this issue Jul 14, 2015 · 0 comments

Comments

@mdwem
Copy link

mdwem commented Jul 14, 2015

Is there a way in SVG-android library to do a hittest so that when a part of SVG file displayed is touched we can get the layer id of the svg.For example my svg has the following implementation

path id=“o578-815-383.41,739" d="M326,731C318,739 318,739 326,748L328,751 330,748 329,748 329,731 341,719 341,717 326,731ZM331,754 338,761 359,761 378,754 396,754 404,745 408,740 415,737 419,736 428,732 442,735 451,742 449,751 452,758 472,724 470,722C465,723 457,724 435,718L395,718C387,721 379,722 360,717L345,716 345,718 357,721 349,736 335,746 331,754Z" centerpoint="383.41,739" />

When I do a hittest on my screen can I get retrieve the path id.How would that be possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant