Packagecom.yworks.graph.input.snapLines
Classpublic class SegmentOrientation
InheritanceSegmentOrientation Inheritance Object

Enumeration for possible orientations of a segment in a (partially) orthogonal edge routing. This class is mainly used by IOrthogonalEdgeHelper and OrthogonalEdgeEditingContext.

See also

IOrthogonalEdgeHelper
OrthogonalEdgeEditingContext


Public Constants
 ConstantDefined By
  HORIZONTAL : uint = 1
[static] The segment has a horizontal orientation, i.e.
SegmentOrientation
  NON_ORTHOGONAL : uint = 3
[static] The segment does not need to be treated especially, both endpoints can be moved independently from each other.
SegmentOrientation
  VERTICAL : uint = 2
[static] The segment has a vertical orientation, i.e.
SegmentOrientation
Constant Detail
HORIZONTALConstant
public static const HORIZONTAL:uint = 1

The segment has a horizontal orientation, i.e. the end points should be moved vertically in sync so that the orientation is not destroyed.

NON_ORTHOGONALConstant 
public static const NON_ORTHOGONAL:uint = 3

The segment does not need to be treated especially, both endpoints can be moved independently from each other.

VERTICALConstant 
public static const VERTICAL:uint = 2

The segment has a vertical orientation, i.e. the end points should be moved horizontally in sync so that the orientation is not destroyed.