Layout.HorizontalDirection
Enum
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 | cocos2d/core/components/CCLayout.js:139 |
RIGHT_TO_LEFT
Items arranged from right to left.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLayout.js:145 |