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

#include <CCLabel.h>

Public Member Functions

 _ttfConfig (const char *filePath, int size=36, const GlyphCollection &glyphCollection=GlyphCollection::NEHE, const char *customGlyphCollection=nullptr, bool useDistanceField=false)

Public Attributes

std::string fontFilePath
int fontSize
GlyphCollection glyphs
const char * customGlyphs
bool distanceFieldEnabled

Member Function Documentation

_ttfConfig ( const char *  filePath,
int  size = 36,
const GlyphCollection &  glyphCollection = GlyphCollection::NEHE,
const char *  customGlyphCollection = nullptr,
bool  useDistanceField = false 

Member Data Documentation

const char* customGlyphs
bool distanceFieldEnabled
std::string fontFilePath
int fontSize
GlyphCollection glyphs

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