Skip to main content

CCBMFontConfiguration.CCBMFontDef

CCBMFontConfiguration.CCBMFontDef

Cocos2D

BMFont definition

Inheritance: System.Object

Constructors

CCBMFontDef()

CCBMFontDef()()

Fields

charID(System.Int32)

ID of the character

rect(Cocos2D.CCRect)

origin and size of the font

xAdvance(System.Int32)

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

xKern(System.Int32)

The amount to move the current position after drawing the character (in pixels) based on kern info

xOffset(System.Int32)

The X amount the image should be offset when drawing the image (in pixels)

yOffset(System.Int32)

The Y amount the image should be offset when drawing the image (in pixels)