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
HORIZONTAL
VERTICAL
Details
HORIZONTAL
The horizontal axis.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:96 |
VERTICAL
The vertical axis.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:102 |