CCLabelAtlas
CCLabelAtlas
Cocos2DInheritance: System.Object → Cocos2D.CCNode → Cocos2D.CCAtlasNode
Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}, Cocos2D.ICCTextureProtocol, Cocos2D.ICCBlendProtocol, Cocos2D.ICCLabelProtocol
Constructors
CCLabelAtlas(string, string)
CCLabelAtlas(string, string)(System.String label, System.String fntFile)Parameters:
label (System.String)fntFile (System.String)CCLabelAtlas(string, string, int, int, char)
CCLabelAtlas(string, string, int, int, char)(System.String label, System.String charMapFile, System.Int32 itemWidth, System.Int32 itemHeight, System.Char startCharMap)Parameters:
label (System.String)charMapFile (System.String)itemWidth (System.Int32)itemHeight (System.Int32)startCharMap (System.Char)Fields
m_cMapStartChar(System.Char)
m_sString(System.String)
Properties
Text(System.String)
Methods
InitWithString(string, CCTexture2D, int, int, char)
System.Boolean InitWithString(string, CCTexture2D, int, int, char)(System.String label, Cocos2D.CCTexture2D texture, System.Int32 itemWidth, System.Int32 itemHeight, System.Char startCharMap)Parameters:
label (System.String)texture (Cocos2D.CCTexture2D)itemWidth (System.Int32)itemHeight (System.Int32)startCharMap (System.Char)Returns:
System.BooleanInitWithString(string, string)
System.Boolean InitWithString(string, string)(System.String theString, System.String fntFile)Parameters:
theString (System.String)fntFile (System.String)Returns:
System.BooleanInitWithString(string, string, int, int, char)
System.Boolean InitWithString(string, string, int, int, char)(System.String label, System.String charMapFile, System.Int32 itemWidth, System.Int32 itemHeight, System.Char startCharMap)Parameters:
label (System.String)charMapFile (System.String)itemWidth (System.Int32)itemHeight (System.Int32)startCharMap (System.Char)Returns:
System.BooleanUpdateAtlasValues()
UpdateAtlasValues()()Example