#include <Text.h>
Enumerator |
---|
LEFT |
|
CENTER |
|
RIGHT |
|
cinder::TextBox::TextBox |
( |
| ) |
|
Vec2i cinder::TextBox::getSize |
( |
| ) |
const |
const Font& cinder::TextBox::getFont |
( |
| ) |
const |
void cinder::TextBox::setFont |
( |
const Font & |
f | ) |
|
Alignment cinder::TextBox::getAlignment |
( |
| ) |
const |
ColorA cinder::TextBox::getColor |
( |
| ) |
const |
ColorA cinder::TextBox::getBackgroundColor |
( |
| ) |
const |
void cinder::TextBox::setBackgroundColor |
( |
ColorA |
bgColor | ) |
|
TextBox& cinder::TextBox::premultiplied |
( |
bool |
premult = true | ) |
|
bool cinder::TextBox::getPremultiplied |
( |
| ) |
const |
void cinder::TextBox::setPremultiplied |
( |
bool |
premult | ) |
|
TextBox& cinder::TextBox::ligate |
( |
bool |
ligateText = true | ) |
|
bool cinder::TextBox::getLigate |
( |
| ) |
const |
void cinder::TextBox::setLigate |
( |
bool |
ligateText | ) |
|
Vec2f cinder::TextBox::measure |
( |
| ) |
const |
std::vector<std::pair<uint16_t,Vec2f> > cinder::TextBox::measureGlyphs |
( |
| ) |
const |
Returns a vector of pairs of glyph indices and the position of their left baselines
- Warning
- Does not support word wrapping on Windows.
Vec2i cinder::TextBox::mSize |
|
protected |
Font cinder::TextBox::mFont |
|
protected |
ColorA cinder::TextBox::mColor |
|
protected |
ColorA cinder::TextBox::mBackgroundColor |
|
protected |
bool cinder::TextBox::mPremultiplied |
|
protected |
bool cinder::TextBox::mLigate |
|
protected |
bool cinder::TextBox::mInvalid |
|
mutableprotected |
Vec2f cinder::TextBox::mCalculatedSize |
|
mutableprotected |
The documentation for this class was generated from the following file: