yfiles/client/support/HitInfo
Class HitInfo

Represents a collection of hits, categorized by the type of the element of the graph that was hit.

 
Field Summary
 yfiles/client/support/HitInfoData[] edgeLabels           

An array of all edge labels that were hit as yfiles/client/support/HitInfoData.

 yfiles/client/support/HitInfoData[] edges           

An array of all edges that were hit as yfiles/client/support/HitInfoData.

 yfiles/client/support/HitInfoData firstHit           

The first element of the graph that was hit.

 Boolean hit           

true if there was at least one hit; otherwise false.

 yfiles/client/support/HitInfoData[] nodeLabels           

An array of all node labels that were hit as yfiles/client/support/HitInfoData.

 yfiles/client/support/HitInfoData[] nodes           

An array of all nodes that were hit as yfiles/client/support/HitInfoData.

 Number x           

The x coordinate of the hit.

 Number y           

The y coordinate of the hit.

 
Constructor Summary
HitInfo(Number worldX, Number worldY)
           
 
Field Detail

edgeLabels

yfiles/client/support/HitInfoData[] edgeLabels

An array of all edge labels that were hit as yfiles/client/support/HitInfoData.


edges

yfiles/client/support/HitInfoData[] edges

An array of all edges that were hit as yfiles/client/support/HitInfoData.


firstHit

yfiles/client/support/HitInfoData firstHit

The first element of the graph that was hit.


hit

Boolean hit

true if there was at least one hit; otherwise false.


nodeLabels

yfiles/client/support/HitInfoData[] nodeLabels

An array of all node labels that were hit as yfiles/client/support/HitInfoData.


nodes

yfiles/client/support/HitInfoData[] nodes

An array of all nodes that were hit as yfiles/client/support/HitInfoData.


x

Number x

The x coordinate of the hit.


y

Number y

The y coordinate of the hit.

 
Constructor Detail

HitInfo

HitInfo(Number worldX, Number worldY)
Parameters:
worldX -

The x coordinate of the hit.

worldY -

The y coordinate of the hit.


Copyright © 2006-2013 yWorks GmbH. All rights reserved.