Layout.HorizontalDirection
枚举
模块: cc
水平方向布局方式
索引
LEFT_TO_RIGHT
RIGHT_TO_LEFT
Details
LEFT_TO_RIGHT
从左往右排列
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:138 |
RIGHT_TO_LEFT
从右往左排列
meta | description |
---|---|
类型 | Number |
定义于 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:144 |