cocos2d-x  3.2
 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=12, const GlyphCollection &glyphCollection=GlyphCollection::DYNAMIC, const char *customGlyphCollection=nullptr, bool useDistanceField=false, int outline=0)

Public Attributes

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

Member Function Documentation

_ttfConfig ( const char *  filePath = "",
int  size = 12,
const GlyphCollection &  glyphCollection = GlyphCollection::DYNAMIC,
const char *  customGlyphCollection = nullptr,
bool  useDistanceField = false,
int  outline = 0 
)
inline

Member Data Documentation

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

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