Label.HorizontalAlign
Enum
Module: cc
Enum for text alignment.
Index
LEFT
CENTER
RIGHT
Details
LEFT
Alignment left for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:40 |
CENTER
Alignment center for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:45 |
RIGHT
Alignment right for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:50 |