cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ccBMFontDef Struct Reference

BMFont definition. More...

#include <CCLabelBMFont.h>

Public Attributes

unsigned int charID
 ID of the character. More...
 
Rect rect
 origin and size of the font More...
 
short xOffset
 The X amount the image should be offset when drawing the image (in pixels) More...
 
short yOffset
 The Y amount the image should be offset when drawing the image (in pixels) More...
 
short xAdvance
 The amount to move the current position after drawing the character (in pixels) More...
 

Detailed Description

BMFont definition.

Member Data Documentation

unsigned int charID

ID of the character.

Rect rect

origin and size of the font

short xAdvance

The amount to move the current position after drawing the character (in pixels)

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)


The documentation for this struct was generated from the following file: