Label.Type Enum

Module: cc

Enum for font type.

Index

  • TTF
  • BMFont
  • SystemFont
  • NONE
  • BITMAP
  • CHAR

Details

TTF

The TTF font type.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:119
BMFont

The bitmap font type.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:124
SystemFont

The system font type.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:129
NONE

Do not do any caching.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:135
BITMAP

In BITMAP mode, cache the label as a static image and add it to the dynamic atlas for batch rendering, and can batching with Sprites using broken images.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:140
CHAR

In CHAR mode, split text into characters and cache characters into a dynamic atlas which the size of 2048*2048.

meta description
Type Number
Defined in cocos2d/core/components/CCLabel.js:145

results matching ""

    No results matching ""