Layout.VerticalDirection
Enum
Module: cc
Enum for vertical layout direction. Used in Grid Layout together with AxisDirection is VERTICAL
Index
BOTTOM_TO_TOP
TOP_TO_BOTTOM
Details
BOTTOM_TO_TOP
Items arranged from bottom to top.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:117 |
TOP_TO_BOTTOM
Items arranged from top to bottom.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:123 |