axmol/cocos/scripting/lua-bindings/auto/api/LabelTTF.lua

185 lines
5.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module LabelTTF
-- @extend Node,LabelProtocol,BlendProtocol
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#LabelTTF] enableShadow
-- @param self
-- @param #size_table size
-- @param #float float
-- @param #float float
-- @param #bool bool
--------------------------------
-- @function [parent=#LabelTTF] setDimensions
-- @param self
-- @param #size_table size
--------------------------------
-- @function [parent=#LabelTTF] getFontSize
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#LabelTTF] getString
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#LabelTTF] setFlippedY
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#LabelTTF] setFlippedX
-- @param self
-- @param #bool bool
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#LabelTTF] setTextDefinition
-- @param self
-- @param #cc.FontDefinition fontdefinition
--------------------------------
-- @function [parent=#LabelTTF] setFontName
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#LabelTTF] getHorizontalAlignment
-- @param self
-- @return TextHAlignment#TextHAlignment ret (return value: cc.TextHAlignment)
--------------------------------
-- @function [parent=#LabelTTF] initWithStringAndTextDefinition
-- @param self
-- @param #string str
-- @param #cc.FontDefinition fontdefinition
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#LabelTTF] setString
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#LabelTTF] initWithString
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string str
-- @param #string str
-- @param #float float
-- @param #size_table size
-- @param #cc.TextHAlignment texthalignment
-- @param #cc.TextVAlignment textvalignment
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#LabelTTF] setFontFillColor
-- @param self
-- @param #color3B_table color3b
-- @param #bool bool
--------------------------------
-- @function [parent=#LabelTTF] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#LabelTTF] enableStroke
-- @param self
-- @param #color3B_table color3b
-- @param #float float
-- @param #bool bool
--------------------------------
-- @function [parent=#LabelTTF] getDimensions
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#LabelTTF] setVerticalAlignment
-- @param self
-- @param #cc.TextVAlignment textvalignment
--------------------------------
-- @function [parent=#LabelTTF] setFontSize
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#LabelTTF] getVerticalAlignment
-- @param self
-- @return TextVAlignment#TextVAlignment ret (return value: cc.TextVAlignment)
--------------------------------
-- @function [parent=#LabelTTF] getTextDefinition
-- @param self
-- @return FontDefinition#FontDefinition ret (return value: cc.FontDefinition)
--------------------------------
-- @function [parent=#LabelTTF] setBlendFunc
-- @param self
-- @param #cc.BlendFunc blendfunc
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#LabelTTF] getFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#LabelTTF] setHorizontalAlignment
-- @param self
-- @param #cc.TextHAlignment texthalignment
--------------------------------
-- @function [parent=#LabelTTF] disableShadow
-- @param self
--------------------------------
-- @function [parent=#LabelTTF] disableStroke
-- @param self
--------------------------------
-- overload function: create()
2014-03-10 14:04:58 +08:00
--
-- overload function: create(string, string, float, size_table, cc.TextHAlignment, cc.TextVAlignment)
--
-- @function [parent=#LabelTTF] create
-- @param self
-- @param #string str
-- @param #string str
-- @param #float float
-- @param #size_table size
-- @param #cc.TextHAlignment texthalignment
-- @param #cc.TextVAlignment textvalignment
-- @return LabelTTF#LabelTTF ret (retunr value: cc.LabelTTF)
--------------------------------
-- @function [parent=#LabelTTF] createWithFontDefinition
-- @param self
-- @param #string str
-- @param #cc.FontDefinition fontdefinition
-- @return LabelTTF#LabelTTF ret (return value: cc.LabelTTF)
--------------------------------
-- @function [parent=#LabelTTF] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#LabelTTF] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#LabelTTF] getContentSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#LabelTTF] LabelTTF
-- @param self
return nil