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:43 |
CENTER
Alignment center for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:48 |
RIGHT
Alignment right for text.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLabel.js:53 |