Packagecom.yworks.canvas.input
Classpublic class HitTest
InheritanceHitTest Inheritance Object

An enumeration for use in GraphEditorInputMode.findHits.

The values can be combined using bitwise OR.

See also

com.yworks.graph.input.GraphEditorInputMode.findHits


Public Constants
 ConstantDefined By
  ALL : uint = 63
[static] Hits on all model items should be tested
HitTest
  BEND : uint = 32
[static] Hits on bends should be tested
HitTest
  EDGE : uint = 2
[static] Hits on edges should be tested
HitTest
  EDGE_LABEL : uint = 8
[static] Hits on node edge should be tested
HitTest
  LABEL : uint = 12
[static] Hits on labels should be tested
HitTest
  NODE : uint = 1
[static] Hits on nodes should be tested
HitTest
  NODE_LABEL : uint = 4
[static] Hits on node labels should be tested
HitTest
  NONE : uint = 0
[static] No hits on model items should be tested
HitTest
  PORT : uint = 16
[static] Hits on ports should be tested
HitTest
Constant Detail
ALLConstant
public static const ALL:uint = 63

Hits on all model items should be tested

BENDConstant 
public static const BEND:uint = 32

Hits on bends should be tested

EDGEConstant 
public static const EDGE:uint = 2

Hits on edges should be tested

EDGE_LABELConstant 
public static const EDGE_LABEL:uint = 8

Hits on node edge should be tested

LABELConstant 
public static const LABEL:uint = 12

Hits on labels should be tested

NODEConstant 
public static const NODE:uint = 1

Hits on nodes should be tested

NODE_LABELConstant 
public static const NODE_LABEL:uint = 4

Hits on node labels should be tested

NONEConstant 
public static const NONE:uint = 0

No hits on model items should be tested

PORTConstant 
public static const PORT:uint = 16

Hits on ports should be tested