mirror of https://github.com/axmolengine/axmol.git
141 lines
3.7 KiB
Lua
141 lines
3.7 KiB
Lua
|
|
--------------------------------
|
|
-- @module Text
|
|
-- @extend Widget
|
|
-- @parent_module ccui
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getStringLength
|
|
-- @param self
|
|
-- @return long#long ret (return value: long)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setFontName
|
|
-- @param self
|
|
-- @param #string str
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setTouchScaleChangeEnabled
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getFontSize
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] enableOutline
|
|
-- @param self
|
|
-- @param #color4b_table color4b
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getTextVerticalAlignment
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getString
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] enableShadow
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setString
|
|
-- @param self
|
|
-- @param #string str
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getTextHorizontalAlignment
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setTextVerticalAlignment
|
|
-- @param self
|
|
-- @param #int textvalignment
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] enableGlow
|
|
-- @param self
|
|
-- @param #color4b_table color4b
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getTextAreaSize
|
|
-- @param self
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setTextHorizontalAlignment
|
|
-- @param self
|
|
-- @param #int texthalignment
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setFontSize
|
|
-- @param self
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] isTouchScaleChangeEnabled
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getType
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] disableEffect
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] getFontName
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] setTextAreaSize
|
|
-- @param self
|
|
-- @param #size_table size
|
|
|
|
--------------------------------
|
|
-- @overload self, string, string, int
|
|
-- @overload self
|
|
-- @function [parent=#Text] create
|
|
-- @param self
|
|
-- @param #string str
|
|
-- @param #string str
|
|
-- @param #int int
|
|
-- @return Text#Text ret (retunr value: ccui.Text)
|
|
|
|
--------------------------------
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Text] Text
|
|
-- @param self
|
|
|
|
return nil
|