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 |
|
) |
| |
var TextLineDef |
( |
var |
x, |
|
|
var |
y, |
|
|
var |
width, |
|
|
var |
height |
|
) |
| |
local TextLineDef |
( |
local |
x, |
|
|
local |
y, |
|
|
local |
width, |
|
|
local |
height |
|
) |
| |
var addGlyph |
( |
var |
theGlyph) | |
|
|
inline |
local addGlyph |
( |
local |
theGlyph) | |
|
|
inline |
const GlyphDef& getGlyphAt |
( |
int |
index) | |
const |
|
inline |
var getGlyphAt |
( |
var |
index) | |
|
|
inline |
local getGlyphAt |
( |
local |
index) | |
|
|
inline |
float getHeight |
( |
) | |
const |
|
inline |
int getNumGlyph |
( |
) | |
const |
|
inline |
The documentation for this class was generated from the following file: