Packagefeathers.layout
Classpublic class RelativePosition
InheritanceRelativePosition Inheritance Object

Constants for positioning an item relative to another item in a layout.

Note: Some constants may not be valid for certain properties. Please see the description of the property in the API reference for full details.



Public Constants
 ConstantDefined By
  BOTTOM : String = "bottom"
[static] The item will be positioned below another item.
RelativePosition
  LEFT : String = "left"
[static] The item will be positioned to the left of another item.
RelativePosition
  LEFT_BASELINE : String = "leftBaseline"
[static] The item will be positioned to the left another item, and the baselines will be aligned to match.
RelativePosition
  MANUAL : String = "manual"
[static] The item will be positioned manually with no relation to the position of another item.
RelativePosition
  RIGHT : String = "right"
[static] The item will be positioned to the right of another item.
RelativePosition
  RIGHT_BASELINE : String = "rightBaseline"
[static] The item will be positioned to the right of another item, and the baselines will be aligned to match.
RelativePosition
  TOP : String = "top"
[static] The item will be positioned above another item.
RelativePosition
Constant Detail
BOTTOMConstant
public static const BOTTOM:String = "bottom"

The item will be positioned below another item.

LEFTConstant 
public static const LEFT:String = "left"

The item will be positioned to the left of another item.

LEFT_BASELINEConstant 
public static const LEFT_BASELINE:String = "leftBaseline"

The item will be positioned to the left another item, and the baselines will be aligned to match. If an item doesn't have a baseline, then its bottom edge will be used as the baseline.

MANUALConstant 
public static const MANUAL:String = "manual"

The item will be positioned manually with no relation to the position of another item. Additional properties may be available to manually set the x and y position of the item.

RIGHTConstant 
public static const RIGHT:String = "right"

The item will be positioned to the right of another item.

RIGHT_BASELINEConstant 
public static const RIGHT_BASELINE:String = "rightBaseline"

The item will be positioned to the right of another item, and the baselines will be aligned to match. If an item doesn't have a baseline, then its bottom edge will be used as the baseline.

TOPConstant 
public static const TOP:String = "top"

The item will be positioned above another item.