TextLineDef define a line of text in a text image texture page.
More...
#include <CCTextImage.h>
TextLineDef define a line of text in a text image texture page.
conllects all the GlyphDef for a text line plus line size and line position in text image space
TextLineDef |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
const GlyphDef& getGlyphAt |
( |
int |
index) | |
const |
|
inline |
float getHeight |
( |
) | |
const |
|
inline |
int getNumGlyph |
( |
) | |
const |
|
inline |
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos2dx/label_nodes/CCTextImage.h