![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#include <CCLabelBMFont.h>
Public Attributes | |
unichar | charID |
ID of the character. | |
CGRect | rect |
origin and size of the font | |
short | xOffset |
The X amount the image should be offset when drawing the image (in pixels) | |
short | yOffset |
The Y amount the image should be offset when drawing the image (in pixels) | |
short | xAdvance |
The amount to move the current position after drawing the character (in pixels) |
BMFont definition
unichar ccBMFontDef::charID |
ID of the character.
CGRect ccBMFontDef::rect |
origin and size of the font
short ccBMFontDef::xAdvance |
The amount to move the current position after drawing the character (in pixels)
short ccBMFontDef::xOffset |
The X amount the image should be offset when drawing the image (in pixels)
short ccBMFontDef::yOffset |
The Y amount the image should be offset when drawing the image (in pixels)