Skip to main content

Cocos2D.CCMenuItemAtlasFont


Class CCMenuItemAtlasFont

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

A CCMenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas

public class CCMenuItemAtlasFont : CCMenuItemLabel, ICCSelectorProtocol, ICCFocusable, ICCTargetedTouchDelegate, ICCStandardTouchDelegate, ICCTouchDelegate, ICCKeypadDelegate, ICCKeyboardDelegate, ICCRGBAProtocol, IComparer<CCNode>

Inheritance

objectCCNodeCCMenuItemCCMenuItemLabelCCMenuItemAtlasFont

Implements

ICCSelectorProtocol, ICCFocusable, ICCTargetedTouchDelegate, ICCStandardTouchDelegate, ICCTouchDelegate, ICCKeypadDelegate, ICCKeyboardDelegate, ICCRGBAProtocol, IComparer<CCNode>

Inherited Members

CCMenuItemLabel.m_fOriginalScale, CCMenuItemLabel.m_pLabel, CCMenuItemLabel.m_tColorBackup, CCMenuItemLabel.m_tDisabledColor, CCMenuItemLabel.InitWithLabel(CCNode, Action<CCMenuItem>), CCMenuItemLabel.SetString(string), CCMenuItemLabel.Activate(), CCMenuItemLabel.Selected(), CCMenuItemLabel.Unselected(), CCMenuItemLabel.DisabledColor, CCMenuItemLabel.Label, CCMenuItemLabel.Enabled, CCMenuItemLabel.Text, CCMenuItem.kCurrentItem, CCMenuItem.kZoomActionTag, CCMenuItem._fontSize, CCMenuItem._fontName, CCMenuItem._fontNameRelease, CCMenuItem.m_bIsEnabled, CCMenuItem.m_bIsSelected, CCMenuItem.m_functionName, CCMenuItem.m_pfnSelector, CCMenuItem.InitWithTarget(Action<CCMenuItem>), CCMenuItem.Activate(), CCMenuItem.Selected(), CCMenuItem.Unselected(), CCMenuItem.RegisterScriptHandler(string), CCMenuItem.SetTarget(Action<CCMenuItem>), CCMenuItem.Enabled, CCMenuItem.IsSelected, CCMenuItem.Rectangle, CCMenuItem.OnActivated, CCMenuItem.OnSelected, CCMenuItem.OnUnselected, CCNode.kCCNodeTagInvalid, CCNode.m_bIgnoreAnchorPointForPosition, CCNode.m_sTransform, CCNode.m_bInverseDirty, CCNode.m_bRunning, CCNode.m_bTransformDirty, CCNode.m_bVisible, CCNode.m_bReorderChildDirty, CCNode.m_fRotationX, CCNode.m_fRotationY, CCNode.m_fScaleX, CCNode.m_fScaleY, CCNode.m_bWorldTransformIsDirty, CCNode.m_NodeToWorldTransform, CCNode.m_fSkewX, CCNode.m_fSkewY, CCNode.m_fVertexZ, CCNode.m_uOrderOfArrival, CCNode.m_pActionManager, CCNode.m_pCamera, CCNode.m_pChildren, CCNode.m_pChildrenByTag, CCNode.m_pGrid, CCNode.m_pParent, CCNode.m_pScheduler, CCNode.pDispatcher, CCNode.m_pUserData, CCNode.m_obAnchorPoint, CCNode.m_obAnchorPointInPoints, CCNode.m_obContentSize, CCNode.m_obPosition, CCNode._displayedOpacity, CCNode._realOpacity, CCNode._displayedColor, CCNode._realColor, CCNode._cascadeColorEnabled, CCNode._cascadeOpacityEnabled, CCNode.Init(), CCNode.Serialize(Stream), CCNode.Deserialize(Stream), CCNode.ConvertPointTo(ref CCPoint, CCNode), CCNode.GetBoundingBox(CCNode), CCNode.ForceTransformRefresh(), CCNode.Update(float), CCNode.GetPosition(out float, out float), CCNode.SetPosition(float, float), CCNode.ResetCleanState(), CCNode.Cleanup(), CCNode.GetChildByTag(int), CCNode.AddChild(CCNode), CCNode.AddChild(CCNode, int), CCNode.AddChild(CCNode, int, int), CCNode.RemoveFromParent(bool), CCNode.RemoveChild(CCNode, bool), CCNode.RemoveChildByTag(int), CCNode.RemoveChildByTag(int, bool), CCNode.RemoveAllChildrenByTag(int), CCNode.RemoveAllChildrenByTag(int, bool), CCNode.RemoveAllChildren(bool), CCNode.UpdateZOrderRange(), CCNode.ReorderChild(CCNode, int), CCNode.Compare(CCNode, CCNode), CCNode.SortAllChildren(), CCNode.Draw(), CCNode.UpdateGraphIndex(), CCNode.Visit(), CCNode.Visit(ref CCAffineTransform), CCNode.VisitRenderer(ref CCAffineTransform), CCNode.TransformAncestors(), CCNode.SetTransform(CCAffineTransform), CCNode.Transform(), CCNode.UpdateDisplayedColor(CCColor3B), CCNode.UpdateDisplayedOpacity(byte), CCNode.OnEnter(), CCNode.OnEnterTransitionDidFinish(), CCNode.AddedToScene(), CCNode.OnExitTransitionDidStart(), CCNode.OnExit(), CCNode.RunAction(CCAction), CCNode.StopAllActions(), CCNode.StopAction(CCAction), CCNode.StopAction(int), CCNode.GetAction(int), CCNode.NumberOfRunningActions(), CCNode.ScheduleUpdate(), CCNode.ScheduleUpdateWithPriority(int), CCNode.UnscheduleUpdate(), CCNode.Schedule(Action<float>), CCNode.Schedule(Action<float>, float), CCNode.Schedule(Action<float>, float, uint, float), CCNode.ScheduleOnce(Action<float>, float), CCNode.Unschedule(Action<float>), CCNode.UnscheduleAllSelectors(), CCNode.UnscheduleAll(), CCNode.Resume(), CCNode.ResumeSchedulerAndActions(), CCNode.Pause(), CCNode.PauseSchedulerAndActions(), CCNode.NodeToParentTransform(), CCNode.SetTransformIsDirty(), CCNode.SetWorldTransformIsDirty(), CCNode.UpdateTransform(), CCNode.ParentToNodeTransform(), CCNode.NodeToWorldTransform(), CCNode.WorldToNodeTransform(), CCNode.ConvertToNodeSpace(CCPoint), CCNode.ConvertToWorldSpace(CCPoint), CCNode.ConvertToNodeSpaceAr(CCPoint), CCNode.ConvertToWorldSpaceAr(CCPoint), CCNode.ConvertToWindowSpace(CCPoint), CCNode.ConvertTouchToNodeSpace(CCTouch), CCNode.ConvertTouchToNodeSpaceAr(CCTouch), CCNode.RegisterWithTouchDispatcher(), CCNode.TouchesBegan(List<CCTouch>), CCNode.TouchesMoved(List<CCTouch>), CCNode.TouchesEnded(List<CCTouch>), CCNode.TouchesCancelled(List<CCTouch>), CCNode.TouchBegan(CCTouch), CCNode.TouchMoved(CCTouch), CCNode.TouchEnded(CCTouch), CCNode.TouchCancelled(CCTouch), CCNode.KeyBackClicked(), CCNode.KeyMenuClicked(), CCNode.KeyPressed(Keys), CCNode.KeyReleased(Keys), CCNode.KeyboardCurrentState(KeyboardState), CCNode.OnGamePadTriggerUpdate(float, float, PlayerIndex), CCNode.OnGamePadStickUpdate(CCGameStickStatus, CCGameStickStatus, PlayerIndex), CCNode.OnGamePadDPadUpdate(CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, PlayerIndex), CCNode.OnGamePadConnectionUpdate(PlayerIndex, bool), CCNode.OnGamePadButtonUpdate(CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, PlayerIndex), CCNode.Dispose(), CCNode.Dispose(bool), CCNode.CleanUpParentsProperly(), CCNode.Color, CCNode.DisplayedColor, CCNode.Opacity, CCNode.DisplayedOpacity, CCNode.IsOpacityModifyRGB, CCNode.CascadeColorEnabled, CCNode.CascadeOpacityEnabled, CCNode.IsSerializable, CCNode.HasFocus, CCNode.CanReceiveFocus, CCNode.Tag, CCNode.UserData, CCNode.UserObject, CCNode.SkewX, CCNode.SkewY, CCNode.LocalMaxZForChildren, CCNode.LocalMInZForChildren, CCNode.ZOrder, CCNode.VertexZ, CCNode.Rotation, CCNode.RotationX, CCNode.RotationY, CCNode.Scale, CCNode.ScaleX, CCNode.ScaleY, CCNode.Position, CCNode.PositionX, CCNode.PositionY, CCNode.Children, CCNode.ChildrenCount, CCNode.Camera, CCNode.Grid, CCNode.VisibleInParent, CCNode.Visible, CCNode.AnchorPointInPoints, CCNode.AnchorPoint, CCNode.ContentSizeInPixels, CCNode.ScaledContentSize, CCNode.ContentSize, CCNode.IsRunning, CCNode.Parent, CCNode.IgnoreAnchorPointForPosition, CCNode.WorldBoundingBox, CCNode.BoundingBoxTransformedToWorld, CCNode.AffineLocalTransform, CCNode.AffineWorldTransform, CCNode.BoundingBox, CCNode.BoundingBoxInPixels, CCNode.OrderOfArrival, CCNode.AdditionalTransform, CCNode.Name, CCNode.ActionManager, CCNode.Scheduler, CCNode.TouchMode, CCNode.TouchEnabled, CCNode.VisibleForTouches, CCNode.TouchPriority, CCNode.KeypadEnabled, CCNode.KeyboardEnabled, CCNode.KeyboardMode, CCNode.GamePadEnabled, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

CCMenuItemAtlasFont()

public CCMenuItemAtlasFont()

Methods

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

initializes a menu item from a string and atlas with a target/selector

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

initializes a menu item from a string and atlas with a target/selector

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public bool InitFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

bool

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

creates a menu item from a string and atlas with a target/selector

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

creates a menu item from a string and atlas. Use it with MenuItemToggle

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

creates a menu item from a string and atlas with a target/selector

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

creates a menu item from a string and atlas. Use it with MenuItemToggle

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

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

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

Returns

CCMenuItemAtlasFont

ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)

public static CCMenuItemAtlasFont ItemFromString(string value, string charMapFile, int itemWidth, int itemHeight, char startCharMap, ICCSelectorProtocol target, Action<CCMenuItem> selector)

Parameters

value string

charMapFile string

itemWidth int

itemHeight int

startCharMap char

target ICCSelectorProtocol

selector Action<CCMenuItem>

Returns

CCMenuItemAtlasFont

  • Constructors
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
    • CCMenuItemAtlasFont()
  • Methods
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • InitFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)
    • ItemFromString(string, string, int, int, char)
    • ItemFromString(string, string, int, int, char, ICCSelectorProtocol, Action<CCMenuItem>)