Skip to main content

CCMenuItemAtlasFont

CCMenuItemAtlasFont

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode → Cocos2D.CCMenuItem → Cocos2D.CCMenuItemLabel

Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}

Constructors

CCMenuItemAtlasFont()

CCMenuItemAtlasFont()()

Methods

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action)

System.Boolean InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action)(System.String value, System.String charMapFile, System.Int32 itemWidth, System.Int32 itemHeight, System.Char startCharMap, Cocos2D.ICCSelectorProtocol target, System.ActionCocos2D.CCMenuItem selector)
Parameters:
value (System.String)
charMapFile (System.String)
itemWidth (System.Int32)
itemHeight (System.Int32)
startCharMap (System.Char)
target (Cocos2D.ICCSelectorProtocol)
selector (System.ActionCocos2D.CCMenuItem)
Returns:
System.Boolean

ItemFromString(string, string, int, int, char)

Cocos2D.CCMenuItemAtlasFont ItemFromString(string, string, int, int, char)(System.String value, System.String charMapFile, System.Int32 itemWidth, System.Int32 itemHeight, System.Char startCharMap)
Parameters:
value (System.String)
charMapFile (System.String)
itemWidth (System.Int32)
itemHeight (System.Int32)
startCharMap (System.Char)
Returns:
Cocos2D.CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action)

Cocos2D.CCMenuItemAtlasFont ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action)(System.String value, System.String charMapFile, System.Int32 itemWidth, System.Int32 itemHeight, System.Char startCharMap, Cocos2D.ICCSelectorProtocol target, System.ActionCocos2D.CCMenuItem selector)
Parameters:
value (System.String)
charMapFile (System.String)
itemWidth (System.Int32)
itemHeight (System.Int32)
startCharMap (System.Char)
target (Cocos2D.ICCSelectorProtocol)
selector (System.ActionCocos2D.CCMenuItem)
Returns:
Cocos2D.CCMenuItemAtlasFont