| cocos2d-x 3.0 |
)- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Label 成员列表
成员的完整列表,这些成员属于 Label,包括所有继承而来的类成员
| pad0 | SpriteBatchNode | |
| _actionManager | Node | protected |
| _additionalTransform | Node | mutableprotected |
| _anchorPoint | Node | protected |
| _anchorPointInPoints | Node | protected |
| _batchCommand | SpriteBatchNode | protected |
| _batchNodes | Label | protected |
| _blendFunc | SpriteBatchNode | protected |
| _blendFuncDirty | Label | protected |
| _bmFontPath | Label | protected |
| _cascadeColorEnabled | Node | protected |
| _cascadeOpacityEnabled | Node | protected |
| _children | Node | protected |
| _clipEnabled | Label | protected |
| _commonLineHeight | Label | protected |
| _compatibleMode | Label | protected |
| _componentContainer | Node | protected |
| _contentDirty | Label | protected |
| _contentSize | Node | protected |
| _currentLabelType | Label | protected |
| _currentUTF16String | Label | protected |
| _currLabelEffect | Label | protected |
| _currNumLines | Label | protected |
| _customCommand | Label | protected |
| _descendants | SpriteBatchNode | protected |
| _displayedColor | Node | protected |
| _displayedOpacity | Node | protected |
| _effectColor | Label | protected |
| _effectColorF | Label | protected |
| _eventDispatcher | Node | protected |
| _fontAtlas | Label | protected |
| _fontConfig | Label | protected |
| _fontDefinition | Label | protected |
| _fontScale | Label | protected |
| _globalZOrder | Node | protected |
| _glProgramState | Node | protected |
| _hAlignment | Label | protected |
| _horizontalKernings | Label | protected |
| _ignoreAnchorPointForPosition | Node | protected |
| _insideBounds | Label | protected |
| _inverse | Node | mutableprotected |
| _inverseDirty | Node | mutableprotected |
| _isOpacityModifyRGB | Label | protected |
| _isTransitionFinished | Node | protected |
| _labelDimensions | Label | protected |
| _labelHeight | Label | protected |
| _labelWidth | Label | protected |
| _lettersInfo | Label | protected |
| _limitShowCount | Label | protected |
| _lineBreakWithoutSpaces | Label | protected |
| _localZOrder | Node | protected |
| _maxLineWidth | Label | protected |
| _modelViewTransform | Node | protected |
| _name | Node | protected |
| _orderOfArrival | Node | protected |
| _originalUTF8String | Label | protected |
| _outlineSize | Label | protected |
| _parent | Node | protected |
| _position | Node | protected |
| _positionZ | Node | protected |
| _realColor | Node | protected |
| _realOpacity | Node | protected |
| _referenceCount | Ref | protected |
| _reorderChildDirty | Node | protected |
| _reusedLetter | Label | protected |
| _reusedRect | Label | protected |
| _rotationX | Node | protected |
| _rotationY | Node | protected |
| _rotationZ_X | Node | protected |
| _rotationZ_Y | Node | protected |
| _running | Node | protected |
| _scaleX | Node | protected |
| _scaleY | Node | protected |
| _scaleZ | Node | protected |
| _scheduler | Node | protected |
| _setLocalZOrder(int z) | Node | virtual |
| _shadowBlurRadius | Label | protected |
| _shadowColor | Label | protected |
| _shadowDirty | Label | protected |
| _shadowEnabled | Label | protected |
| _shadowNode | Label | protected |
| _shadowOffset | Label | protected |
| _shadowOpacity | Label | protected |
| _shadowTransform | Label | protected |
| _skewX | Node | protected |
| _skewY | Node | protected |
| _systemFont | Label | protected |
| _systemFontDirty | Label | protected |
| _systemFontSize | Label | protected |
| _tag | Node | protected |
| _textColor | Label | protected |
| _textColorF | Label | protected |
| _textSprite | Label | protected |
| _textureAtlas | SpriteBatchNode | protected |
| _transform | Node | mutableprotected |
| _transformDirty | Node | mutableprotected |
| _transformUpdated | Node | protected |
| _uniformEffectColor | Label | protected |
| _uniformTextColor | Label | protected |
| _useA8Shader | Label | protected |
| _useAdditionalTransform | Node | protected |
| _useDistanceField | Label | protected |
| _userData | Node | protected |
| _userObject | Node | protected |
| _vAlignment | Label | protected |
| _visible | Node | protected |
| addChild(Node child, int zOrder=0, int tag=0) override | Label | virtual |
| cocos2d::Node::addChild(Node child) | Node | virtual |
| cocos2d::Node::addChild(Node child, int localZOrder) | Node | virtual |
| addComponent(Component pComponent) | Node | virtual |
| addSpriteWithoutQuad(Sprite child, int z, int aTag) | SpriteBatchNode | |
| alignText() | Label | protectedvirtual |
| appendChild(Sprite sprite) | SpriteBatchNode | |
| atlasIndexForChild(Sprite sprite, int z) | SpriteBatchNode | |
| autorelease() | Ref | |
| boundingBox() const | Node | inlinevirtual |
| childrenAlloc(void) | Node | protected |
| cleanup() | Node | virtual |
| computeHorizontalKernings(const std::u16string &stringToRender) | Label | protected |
| computeStringNumLines() | Label | protected |
| convertToNodeSpace(const Vec2 &worldPoint) const | Node | |
| convertToNodeSpaceAR(const Vec2 &worldPoint) const | Node | |
| convertTouchToNodeSpace(Touch touch) const | Node | |
| convertTouchToNodeSpaceAR(Touch touch) const | Node | |
| convertToWindowSpace(const Vec2 &nodePoint) const | Node | protected |
| convertToWorldSpace(const Vec2 &nodePoint) const | Node | |
| convertToWorldSpaceAR(const Vec2 &nodePoint) const | Node | |
| create() | Label | static |
| create(const std::string &text, const std::string &font, float fontSize, const Size &dimensions=Size::ZERO, TextHAlignment hAlignment=TextHAlignment::LEFT, TextVAlignment vAlignment=TextVAlignment::TOP) | Label | static |
| cocos2d::SpriteBatchNode::create(const std::string &fileImage, ssize_t capacity=DEFAULT_CAPACITY) | SpriteBatchNode | static |
| createSpriteWithFontDefinition() | Label | protected |
| createWithBMFont(const std::string &bmfontFilePath, const std::string &text, const TextHAlignment &alignment=TextHAlignment::LEFT, int maxLineWidth=0, const Vec2 &imageOffset=Vec2::ZERO) | Label | static |
| createWithCharMap(const std::string &charMapFile, int itemWidth, int itemHeight, int startCharMap) | Label | static |
| createWithCharMap(Texture2D texture, int itemWidth, int itemHeight, int startCharMap) | Label | static |
| createWithCharMap(const std::string &plistFile) | Label | static |
| createWithSystemFont(const std::string &text, const std::string &font, float fontSize, const Size &dimensions=Size::ZERO, TextHAlignment hAlignment=TextHAlignment::LEFT, TextVAlignment vAlignment=TextVAlignment::TOP) | Label | static |
| createWithTexture(Texture2D tex, ssize_t capacity=DEFAULT_CAPACITY) | SpriteBatchNode | static |
| createWithTTF(const std::string &text, const std::string &fontFile, float fontSize, const Size &dimensions=Size::ZERO, TextHAlignment hAlignment=TextHAlignment::LEFT, TextVAlignment vAlignment=TextVAlignment::TOP) | Label | static |
| createWithTTF(const TTFConfig &ttfConfig, const std::string &text, TextHAlignment alignment=TextHAlignment::LEFT, int maxLineWidth=0) | Label | static |
| detachChild(Node child, ssize_t index, bool doCleanup) | Node | protected |
| disableCascadeColor() | Node | protectedvirtual |
| disableCascadeOpacity() | Node | protectedvirtual |
| disableEffect() | Label | virtual |
| DistanceFieldFontSize | Label | static |
| draw(Renderer renderer, const Mat4 &transform, bool transformUpdated) override | Label | virtual |
| cocos2d::Node::draw() final | Node | virtual |
| drawShadowWithoutBlur() | Label | protected |
| drawTextSprite(Renderer renderer, bool parentTransformUpdated) | Label | protected |
| enableGlow(const Color4B &glowColor) | Label | virtual |
| enableOutline(const Color4B &outlineColor, int outlineSize=-1) | Label | virtual |
| enableShadow(const Color4B &shadowColor=Color4B::BLACK, const Size &offset=Size(2,-2), int blurRadius=0) | Label | virtual |
| getActionByTag(int tag) | Node | |
| getActionManager() | Node | inlinevirtual |
| getActionManager() const | Node | inlinevirtual |
| getAnchorPoint() const | Node | virtual |
| getAnchorPointInPoints() const | Node | virtual |
| getBlendFunc() const override | SpriteBatchNode | virtual |
| getBMFontFilePath() const | Label | inline |
| getBoundingBox() const override | Label | virtual |
| getChildByTag(int tag) | Node | virtual |
| getChildren() | Node | inlinevirtual |
| getChildren() const | Node | inlinevirtual |
| getChildrenCount() const | Node | virtual |
| getColor(void) const | Node | virtual |
| getCommonLineHeight() const | Label | |
| getComponent(const std::string &pName) | Node | |
| getContentSize() const override | Label | virtual |
| getDescendants() const | SpriteBatchNode | inline |
| getDescription() const override | Label | virtual |
| getDimensions() const | Label | inline |
| getDisplayedColor() const | Node | virtual |
| getDisplayedOpacity() const | Node | virtual |
| getEventDispatcher() const | Node | inlinevirtual |
| getFontAtlas() | Label | inline |
| getFontDefinition() const | Label | inline |
| getGlobalZOrder() const | Node | inlinevirtual |
| getGLProgram() | Node | |
| getGLProgramState() | Node | |
| getGLServerState() const | Node | inline |
| getHeight() const | Label | inline |
| getHorizontalAlignment() const | Label | inline |
| getLetter(int lettetIndex) | Label | virtual |
| getLocalZOrder() const | Node | inlinevirtual |
| getMaxLineWidth() | Label | inline |
| getNodeToParentAffineTransform() const | Node | virtual |
| getNodeToParentTransform() const | Node | virtual |
| getNodeToWorldAffineTransform() const | Node | virtual |
| getNodeToWorldTransform() const | Node | virtual |
| getNumberOfRunningActions() const | Node | |
| getOpacity() const | Node | virtual |
| getOrderOfArrival() const | Node | |
| getParent() | Node | inlinevirtual |
| getParent() const | Node | inlinevirtual |
| getParentToNodeAffineTransform() const | Node | virtual |
| getParentToNodeTransform() const | Node | virtual |
| getPosition() const | Node | virtual |
| getPosition(float x, float y) const | Node | virtual |
| getPosition3D() const | Node | virtual |
| getPositionX(void) const | Node | virtual |
| getPositionY(void) const | Node | virtual |
| getPositionZ() const | Node | virtual |
| getReferenceCount() const | Ref | |
| getRotation() const | Node | virtual |
| getRotation3D() const | Node | virtual |
| getRotationSkewX() const | Node | virtual |
| getRotationSkewY() const | Node | virtual |
| getRotationX() const | Node | inlinevirtual |
| getRotationY() const | Node | inlinevirtual |
| getScale() const | Node | virtual |
| getScaleX() const override | Label | virtual |
| getScaleY() const override | Label | virtual |
| getScaleZ() const | Node | virtual |
| getScene() | Node | virtual |
| getScheduler() | Node | inlinevirtual |
| getScheduler() const | Node | inlinevirtual |
| getShaderProgram() | Node | inline |
| getSkewX() const | Node | virtual |
| getSkewY() const | Node | virtual |
| getString() const override | Label | inlinevirtual |
| getStringLength() const | Label | |
| getStringNumLines() const | Label | inline |
| getSystemFontName() const | Label | inlinevirtual |
| getSystemFontSize() const | Label | inlinevirtual |
| getTag() const | Node | virtual |
| getTextAlignment() const | Label | inline |
| getTextColor() const | Label | inline |
| getTexture() const override | SpriteBatchNode | virtual |
| getTextureAtlas(void) | SpriteBatchNode | inline |
| getTTFConfig() const | Label | inlinevirtual |
| getUserData() | Node | inlinevirtual |
| getUserData() const | Node | inlinevirtual |
| getUserObject() | Node | inlinevirtual |
| getUserObject() const | Node | inlinevirtual |
| getVertexZ() const | Node | inlinevirtual |
| getVerticalAlignment() const | Label | inline |
| getWidth() const | Label | inline |
| getWorldToNodeAffineTransform() const | Node | virtual |
| getWorldToNodeTransform() const | Node | virtual |
| getZOrder() const | Node | inlinevirtual |
| highestAtlasIndexInChild(Sprite sprite) | SpriteBatchNode | |
| ignoreAnchorPointForPosition(bool ignore) | Node | virtual |
| increaseAtlasCapacity() | SpriteBatchNode | |
| init() | SpriteBatchNode | virtual |
| initWithFile(const std::string &fileImage, ssize_t capacity) | SpriteBatchNode | |
| initWithTexture(Texture2D tex, ssize_t capacity) | SpriteBatchNode | |
| insertChild(Node child, int z) | Node | protected |
| insertQuadFromSprite(Sprite sprite, ssize_t index) | SpriteBatchNode | |
| INVALID_TAG | Node | static |
| isCascadeColorEnabled() const | Node | virtual |
| isCascadeOpacityEnabled() const | Node | virtual |
| isClipMarginEnabled() const | Label | inline |
| isIgnoreAnchorPointForPosition() const | Node | virtual |
| isOpacityModifyRGB() const override | Label | virtual |
| isRunning() const | Node | virtual |
| isScheduled(SEL_SCHEDULE selector) | Node | |
| isVisible() const | Node | virtual |
| Label(FontAtlas atlas=nullptr, TextHAlignment hAlignment=TextHAlignment::LEFT, TextVAlignment vAlignment=TextVAlignment::TOP, bool useDistanceField=false, bool useA8Shader=false) | Label | protected |
| LabelTextFormatter class | Label | friend |
| LabelType 枚举名称 | Label | protected |
| lowestAtlasIndexInChild(Sprite sprite) | SpriteBatchNode | |
| nodeToParentTransform() const | Node | inlinevirtual |
| nodeToWorldTransform() const | Node | inlinevirtual |
| numberOfRunningActions() const | Node | inline |
| onDraw(const Mat4 &transform, bool transformUpdated) | Label | protected |
| onEnter() | Node | virtual |
| onEnterTransitionDidFinish() | Node | virtual |
| onExit() | Node | virtual |
| onExitTransitionDidStart() | Node | virtual |
| parentToNodeTransform() const | Node | inlinevirtual |
| pause(void) | Node | |
| pauseSchedulerAndActions(void) | Node | |
| rebuildIndexInOrder(Sprite parent, ssize_t index) | SpriteBatchNode | |
| recordLetterInfo(const cocos2d::Vec2 &point, const FontLetterDefinition &letterDef, int spriteIndex) | Label | protected |
| recordPlaceholderInfo(int spriteIndex) | Label | protected |
| Ref() | Ref | protected |
| release() | Ref | |
| removeAllChildren() | Node | virtual |
| removeAllChildrenWithCleanup(bool cleanup) override | SpriteBatchNode | virtual |
| removeAllComponents() | Node | virtual |
| removeChild(Node child, bool cleanup) override | SpriteBatchNode | virtual |
| removeChildAtIndex(ssize_t index, bool doCleanup) | SpriteBatchNode | |
| removeChildByTag(int tag, bool cleanup=true) | Node | virtual |
| removeComponent(const std::string &pName) | Node | virtual |
| removeFromParent() | Node | virtual |
| removeFromParentAndCleanup(bool cleanup) | Node | virtual |
| removeSpriteFromAtlas(Sprite sprite) | SpriteBatchNode | |
| reorderBatch(bool reorder) | SpriteBatchNode | |
| reorderChild(Node child, int zOrder) override | SpriteBatchNode | virtual |
| reset() | Label | protected |
| resume(void) | Node | |
| resumeSchedulerAndActions(void) | Node | |
| retain() | Ref | |
| runAction(Action action) | Node | |
| s_globalOrderOfArrival | Node | protectedstatic |
| schedule(SEL_SCHEDULE selector, float interval, unsigned int repeat, float delay) | Node | |
| schedule(SEL_SCHEDULE selector, float interval) | Node | |
| schedule(SEL_SCHEDULE selector) | Node | |
| scheduleOnce(SEL_SCHEDULE selector, float delay) | Node | |
| scheduleUpdate(void) | Node | |
| scheduleUpdateWithPriority(int priority) | Node | |
| scheduleUpdateWithPriorityLua(int handler, int priority) | Node | |
| setActionManager(ActionManager actionManager) | Node | virtual |
| setAdditionalTransform(Mat4 additionalTransform) | Node | |
| setAdditionalTransform(const AffineTransform &additionalTransform) | Node | |
| setAlignment(TextHAlignment hAlignment) | Label | inline |
| setAlignment(TextHAlignment hAlignment, TextVAlignment vAlignment) | Label | |
| setAnchorPoint(const Vec2 &anchorPoint) | Node | virtual |
| setBlendFunc(const BlendFunc &blendFunc) override | Label | virtual |
| setBMFontFilePath(const std::string &bmfontFilePath, const Vec2 &imageOffset=Vec2::ZERO) | Label | virtual |
| setCascadeColorEnabled(bool cascadeColorEnabled) | Node | virtual |
| setCascadeOpacityEnabled(bool cascadeOpacityEnabled) | Node | virtual |
| setCharMap(const std::string &charMapFile, int itemWidth, int itemHeight, int startCharMap) | Label | virtual |
| setCharMap(Texture2D texture, int itemWidth, int itemHeight, int startCharMap) | Label | virtual |
| setCharMap(const std::string &plistFile) | Label | virtual |
| setClipMarginEnabled(bool clipEnabled) | Label | inline |
| setColor(const Color3B &color) | Node | virtual |
| setContentSize(const Size &contentSize) | Node | virtual |
| setDimensions(unsigned int width, unsigned int height) | Label | |
| setEventDispatcher(EventDispatcher dispatcher) | Node | virtual |
| setFontAtlas(FontAtlas atlas, bool distanceFieldEnabled=false, bool useA8Shader=false) | Label | protectedvirtual |
| setFontDefinition(const FontDefinition &textDefinition) | Label | virtual |
| setFontScale(float fontScale) | Label | protected |
| setGlobalZOrder(float globalZOrder) | Node | virtual |
| setGLProgram(GLProgram glprogram) | Node | |
| setGLProgramState(GLProgramState glProgramState) | Node | |
| setGLServerState(int serverState) | Node | inline |
| setHeight(unsigned int height) | Label | inline |
| setHorizontalAlignment(TextHAlignment hAlignment) | Label | inline |
| setLineBreakWithoutSpace(bool breakWithoutSpace) | Label | |
| setLocalZOrder(int localZOrder) | Node | virtual |
| setMaxLineWidth(unsigned int maxLineWidth) | Label | |
| setNodeToParentTransform(const Mat4 &transform) | Node | virtual |
| setOpacity(GLubyte opacity) | Node | virtual |
| setOpacityModifyRGB(bool isOpacityModifyRGB) override | Label | virtual |
| setOrderOfArrival(int orderOfArrival) | Node | |
| setParent(Node parent) | Node | virtual |
| setPosition(const Vec2 &position) | Node | virtual |
| setPosition(float x, float y) | Node | virtual |
| setPosition3D(const Vec3 &position) | Node | virtual |
| setPositionX(float x) | Node | virtual |
| setPositionY(float y) | Node | virtual |
| setPositionZ(float positionZ) | Node | virtual |
| setRotation(float rotation) | Node | virtual |
| setRotation3D(const Vec3 &rotation) | Node | virtual |
| setRotationSkewX(float rotationX) | Node | virtual |
| setRotationSkewY(float rotationY) | Node | virtual |
| setRotationX(float rotationX) | Node | inlinevirtual |
| setRotationY(float rotationY) | Node | inlinevirtual |
| setScale(float scale) override | Label | virtual |
| cocos2d::SpriteBatchNode::setScale(float scaleX, float scaleY) | Node | virtual |
| setScaleX(float scaleX) override | Label | virtual |
| setScaleY(float scaleY) override | Label | virtual |
| setScaleZ(float scaleZ) | Node | virtual |
| setScheduler(Scheduler scheduler) | Node | virtual |
| setShaderProgram(GLProgram glprogram) | Node | inline |
| setSkewX(float skewX) | Node | virtual |
| setSkewY(float skewY) | Node | virtual |
| setString(const std::string &text) override | Label | virtual |
| setSystemFontName(const std::string &systemFont) | Label | virtual |
| setSystemFontSize(float fontSize) | Label | virtual |
| setTag(int tag) | Node | virtual |
| setTextColor(const Color4B &color) | Label | virtual |
| setTexture(Texture2D texture) override | SpriteBatchNode | virtual |
| setTextureAtlas(TextureAtlas textureAtlas) | SpriteBatchNode | inline |
| setTTFConfig(const TTFConfig &ttfConfig) | Label | virtual |
| setUserData(void userData) | Node | virtual |
| setUserObject(Ref userObject) | Node | virtual |
| setVertexZ(float vertexZ) | Node | inlinevirtual |
| setVerticalAlignment(TextVAlignment vAlignment) | Label | inline |
| setVisible(bool visible) | Node | virtual |
| setWidth(unsigned int width) | Label | inline |
| setZOrder(int localZOrder) | Node | inlinevirtual |
| sortAllChildren() override | Label | virtual |
| stopAction(Action action) | Node | |
| stopActionByTag(int tag) | Node | |
| stopAllActions() | Node | |
| swap(ssize_t oldIndex, ssize_t newIndex) | SpriteBatchNode | protected |
| transform(const Mat4 &parentTransform) | Node | protected |
| unschedule(SEL_SCHEDULE selector) | Node | |
| unscheduleAllSelectors(void) | Node | |
| unscheduleUpdate(void) | Node | |
| update(float delta) | Node | virtual |
| updateAtlasIndex(Sprite sprite, ssize_t curIndex) | SpriteBatchNode | protected |
| updateBlendFunc() | SpriteBatchNode | protected |
| updateCascadeColor() | Node | protectedvirtual |
| updateCascadeOpacity() | Node | protectedvirtual |
| updateColor() override | Label | protectedvirtual |
| updateContent() | Label | virtual |
| updateDisplayedColor(const Color3B &parentColor) override | Label | virtual |
| updateDisplayedOpacity(GLubyte parentOpacity) override | Label | virtual |
| updateFont() | Label | protected |
| updateQuadFromSprite(Sprite sprite, ssize_t index) | SpriteBatchNode | protected |
| updateQuads() | Label | protected |
| updateShaderProgram() | Label | protectedvirtual |
| updateTransform() | Node | virtual |
| visit(Renderer renderer, const Mat4 &parentTransform, bool parentTransformUpdated) override | Label | virtual |
| cocos2d::Node::visit() final | Node | virtual |
| worldToNodeTransform() const | Node | inlinevirtual |
| ~BlendProtocol() | BlendProtocol | inlinevirtual |
| ~Label() | Label | protectedvirtual |
| ~LabelProtocol() | LabelProtocol | inlinevirtual |
| ~Node() | Node | virtual |
| ~Ref() | Ref | virtual |
| ~SpriteBatchNode() | SpriteBatchNode | virtual |
| ~TextureProtocol() | TextureProtocol | inlinevirtual |

