2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module LabelBMFont
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Node,LabelProtocol,BlendProtocol
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setLineBreakWithoutSpace
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getBlendFunc
|
|
|
|
-- @param self
|
|
|
|
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] isOpacityModifyRGB
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getLetter
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getString
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setBlendFunc
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.BlendFunc blendfunc
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setString
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] initWithString
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #cc.TextHAlignment texthalignment
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setOpacityModifyRGB
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getFntFile
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setFntFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setAlignment
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.TextHAlignment texthalignment
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setWidth
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: create()
|
|
|
|
--
|
2014-05-15 01:16:02 +08:00
|
|
|
-- overload function: create(string, string, float, cc.TextHAlignment, cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
--
|
|
|
|
-- @function [parent=#LabelBMFont] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #cc.TextHAlignment texthalignment
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return LabelBMFont#LabelBMFont ret (retunr value: cc.LabelBMFont)
|
|
|
|
|
2014-03-28 16:20:29 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getBoundingBox
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] setColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getChildByTag
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
2014-03-28 16:20:29 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] getContentSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#LabelBMFont] LabelBMFont
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|