Class Position

Hierarchy: Object , Position
public class Position
A Position indicates the position of a Location relative to a graph component (Node, Edge, or Area).

Other

  • version: 1.7
public static final int opposite(int position)
Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position otherwise.