CCFontManager
CCFontManager
Cocos2DInheritance: System.Object
Properties
RegisteredTTFFonts(System.Collections.Generic.IEnumerableSystem.String)
Methods
Clear()
Clear()()CreateLabel(string, string, float)
Cocos2D.CCNode CreateLabel(string, string, float)(System.String text, System.String fontName, System.Single fontSize)Parameters:
text (System.String)fontName (System.String)fontSize (System.Single)Returns:
Cocos2D.CCNodeCreateLabel(string, string, float, CCSize, CCTextAlignment, CCVerticalTextAlignment)
Cocos2D.CCNode CreateLabel(string, string, float, CCSize, CCTextAlignment, CCVerticalTextAlignment)(System.String text, System.String fontName, System.Single fontSize, Cocos2D.CCSize dimensions, Cocos2D.CCTextAlignment hAlignment, Cocos2D.CCVerticalTextAlignment vAlignment)Parameters:
text (System.String)fontName (System.String)fontSize (System.Single)dimensions (Cocos2D.CCSize)hAlignment (Cocos2D.CCTextAlignment)vAlignment (Cocos2D.CCVerticalTextAlignment)Returns:
Cocos2D.CCNodeIsTTFFont(string)
System.Boolean IsTTFFont(string)(System.String fontName)Parameters:
fontName (System.String)Returns:
System.BooleanIsTTFRegistered(string)
System.Boolean IsTTFRegistered(string)(System.String relativePath)Parameters:
relativePath (System.String)Returns:
System.BooleanRegisterTTF(string)
System.Boolean RegisterTTF(string)(System.String relativePath)Parameters:
relativePath (System.String)Returns:
System.BooleanResolveFontPath(string)
System.String ResolveFontPath(string)(System.String relativePath)Parameters:
relativePath (System.String)Returns:
System.String