cocos2d-x  3.0
 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)
 _ttfConfig ( local 12, local DYNAMIC, local nullptr, local false, local 0)

Public Attributes

std::string fontFilePath
local fontFilePath
int fontSize
local fontSize
GlyphCollection glyphs
local glyphs
const char * customGlyphs
local customGlyphs
bool distanceFieldEnabled
local distanceFieldEnabled
int outlineSize
local 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
local _ttfConfig ( local  filePath = "",
local  size = 12,
local  glyphCollection = GlyphCollection::DYNAMIC,
local  customGlyphCollection = nullptr,
local  useDistanceField = false,
local  outline = 0 
)
inline

Member Data Documentation

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

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