This hit info factory implements the pre-yFiles for Java 2.8 hit info behavior. If there
is a query for just the first hit of any type, then in addition to the drawing
order the type precedence port, bend, edge label, edge, node, node label is used.
createHitInfo(double x,
double y,
int types,
boolean firstHitOnly)
Creates a hit information object for a given type of graph
elements at the specified location.
Creates a hit information object for a given type of graph
elements at the specified location. A hit info provides information on the
graph elements at the given world coordinates.