Skip to content

Hit Test Using Geometry as a Parameter #16549

@BAndysc

Description

@BAndysc

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions