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

151 lines
4.0 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Text
-- @extend Widget
-- @parent_module ccui
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] enableShadow
2014-03-10 14:04:58 +08:00
-- @param self
--------------------------------
-- @function [parent=#Text] getFontSize
2014-03-10 14:04:58 +08:00
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] getString
2014-03-10 14:04:58 +08:00
-- @param self
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] disableEffect
2014-03-10 14:04:58 +08:00
-- @param self
--------------------------------
-- @function [parent=#Text] getTextColor
-- @param self
-- @return color4b_table#color4b_table ret (return value: color4b_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] setTextVerticalAlignment
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #int textvalignment
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] setFontName
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string str
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] setTouchScaleChangeEnabled
-- @param self
-- @param #bool bool
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] setString
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Text] isTouchScaleChangeEnabled
2014-03-10 14:04:58 +08:00
-- @param self
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] getFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Text] setTextAreaSize
-- @param self
-- @param #size_table size
--------------------------------
-- @function [parent=#Text] getStringLength
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- @function [parent=#Text] enableOutline
-- @param self
-- @param #color4b_table color4b
-- @param #int int
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] getType
2014-03-10 14:04:58 +08:00
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] getTextHorizontalAlignment
2014-03-10 14:04:58 +08:00
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] setFontSize
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#Text] setTextColor
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #color4b_table color4b
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] enableGlow
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #color4b_table color4b
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] getTextVerticalAlignment
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] getTextAreaSize
2014-03-10 14:04:58 +08:00
-- @param self
-- @return size_table#size_table ret (return value: size_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] setTextHorizontalAlignment
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #int texthalignment
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self, string, string, int
-- @overload self
-- @function [parent=#Text] create
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string str
-- @param #string str
-- @param #int int
-- @return Text#Text ret (retunr value: ccui.Text)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- @function [parent=#Text] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- @function [parent=#Text] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Text] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Text] Text
-- @param self
return nil