Packagecom.yworks.yfiles.layout
Classpublic class LayoutOrientation
InheritanceLayoutOrientation Inheritance YObject Inheritance Object

Defines some layout orientation specifiers that are used to inform a layouter which general orientation a layout should express.



Public Methods
 MethodDefined By
 Inherited
equals(o:Object):Boolean
YObject
 Inherited
getClass():Class
YObject
 Inherited
hashCode():int
YObject
Public Constants
 ConstantDefined By
  BOTTOM_TO_TOP : int = 2
[static] Orientation specifier.
LayoutOrientation
  LEFT_TO_RIGHT : int = 1
[static] Orientation specifier.
LayoutOrientation
  RIGHT_TO_LEFT : int = 3
[static] Orientation specifier.
LayoutOrientation
  TOP_TO_BOTTOM : int = 0
[static] Orientation specifier.
LayoutOrientation
Constant Detail
BOTTOM_TO_TOPConstant
public static const BOTTOM_TO_TOP:int = 2

Orientation specifier. Layout will be from bottom to top, which means that the layout will be flipped along the x axis.

LEFT_TO_RIGHTConstant 
public static const LEFT_TO_RIGHT:int = 1

Orientation specifier. Layout will be from left to right, which means that the layout will be rotated by 90 degrees counterclockwise

RIGHT_TO_LEFTConstant 
public static const RIGHT_TO_LEFT:int = 3

Orientation specifier. Layout will be from right to left, which means that the layout will be rotated by 90 degrees clockwise

TOP_TO_BOTTOMConstant 
public static const TOP_TO_BOTTOM:int = 0

Orientation specifier. Layout will be oriented from top to bottom, which is the default for all layout algorithms.