mirror of https://github.com/axmolengine/axmol.git
52 lines
1.8 KiB
Lua
52 lines
1.8 KiB
Lua
|
|
--------------------------------
|
|
-- @module LinearLayoutParameter
|
|
-- @extend LayoutParameter
|
|
-- @parent_module ccui
|
|
|
|
--------------------------------
|
|
-- Sets LinearGravity parameter for LayoutParameter.<br>
|
|
-- see LinearGravity<br>
|
|
-- param gravity Gravity in LinearGravity.
|
|
-- @function [parent=#LinearLayoutParameter] setGravity
|
|
-- @param self
|
|
-- @param #int gravity
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
|
|
|
|
--------------------------------
|
|
-- Gets LinearGravity parameter for LayoutParameter.<br>
|
|
-- see LinearGravity<br>
|
|
-- return LinearGravity
|
|
-- @function [parent=#LinearLayoutParameter] getGravity
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- Create a empty LinearLayoutParameter instance.<br>
|
|
-- return A initialized LayoutParameter which is marked as "autorelease".
|
|
-- @function [parent=#LinearLayoutParameter] create
|
|
-- @param self
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter ret (return value: ccui.LinearLayoutParameter)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#LinearLayoutParameter] createCloneInstance
|
|
-- @param self
|
|
-- @return LayoutParameter#LayoutParameter ret (return value: ccui.LayoutParameter)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#LinearLayoutParameter] copyProperties
|
|
-- @param self
|
|
-- @param #ccui.LayoutParameter model
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
|
|
|
|
--------------------------------
|
|
-- Default constructor.<br>
|
|
-- lua new
|
|
-- @function [parent=#LinearLayoutParameter] LinearLayoutParameter
|
|
-- @param self
|
|
-- @return LinearLayoutParameter#LinearLayoutParameter self (return value: ccui.LinearLayoutParameter)
|
|
|
|
return nil
|