Layout.HorizontalDirection Enum
Module: cc
Enum for horizontal layout direction. Used in Grid Layout together with AxisDirection is HORIZONTAL
Index
LEFT_TO_RIGHTRIGHT_TO_LEFT
Details
LEFT_TO_RIGHT
Items arranged from left to right.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/components/CCLayout.js:140 |
RIGHT_TO_LEFT
Items arranged from right to left.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/components/CCLayout.js:146 |