Layout.HorizontalDirection Enum

Module: cc

Enum for horizontal layout direction. Used in Grid Layout together with AxisDirection is HORIZONTAL

Index

  • LEFT_TO_RIGHT
  • RIGHT_TO_LEFT

Details

LEFT_TO_RIGHT

Items arranged from left to right.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:138
RIGHT_TO_LEFT

Items arranged from right to left.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:144

results matching ""

    No results matching ""