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

Hit Test Using Geometry as a Parameter #16549

Open
BAndysc opened this issue Jul 31, 2024 · 1 comment
Open

Hit Test Using Geometry as a Parameter #16549

BAndysc opened this issue Jul 31, 2024 · 1 comment

Comments

@BAndysc
Copy link
Contributor

BAndysc commented Jul 31, 2024

Is your feature request related to a problem? Please describe.

While porting a recent addition to nodify, a WPF library to Avalonia, I have encountered a missing feature in Avalonia, which blocks this new nodify feature.

Nodify is a graphing library and uses hit testing using a geometry of a line to detect which edges are being "cut" by the line - i.e. which edge geometries are overlapped by a line geometry currently drawn by the user.

Describe the solution you'd like

Port of WPF methods to hit-test using an arbitrary geometry https://learn.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/how-to-hit-test-using-geometry-as-a-parameter would be great.

Describe alternatives you've considered

No response

Additional context

No response

@ProjetNice
Copy link

Thank you so much for sharing. Thank you so much

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

No branches or pull requests

3 participants