Layout.AxisDirection Enum
Module: cc
Enum for Grid Layout start axis direction. The items in grid layout will be arranged in each axis at first.;
Index
HORIZONTALVERTICAL
Details
HORIZONTAL
The horizontal axis.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/components/CCLayout.js:98 |
VERTICAL
The vertical axis.
| meta | description |
|---|---|
| Type | Number |
| Defined in | cocos2d/core/components/CCLayout.js:104 |