mirror of https://github.com/axmolengine/axmol.git
186 lines
5.3 KiB
Lua
186 lines
5.3 KiB
Lua
|
|
--------------------------------
|
|
-- @module LabelTTF
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @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()
|
|
--
|
|
-- 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] visit
|
|
-- @param self
|
|
-- @param #cc.Renderer renderer
|
|
-- @param #kmMat4 kmmat4
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#LabelTTF] LabelTTF
|
|
-- @param self
|
|
|
|
return nil
|