Class ccui.LinearLayoutParameter
- Defined in: UILayoutParameter.js
- Extends ccui.LayoutParameter
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Base class for ccui.LinearLayoutParameter
|
Method Summary
Class Detail
ccui.LinearLayoutParameter()
Base class for ccui.LinearLayoutParameter
Method Detail
-
allocates and initializes a LinearLayoutParameter.
// example var uiLinearLayoutParameter = ccui.LinearLayoutParameter.create();
- Returns:
- {ccui.LinearLayoutParameter}
-
{Number} getGravity()Gets LinearGravity parameter for LayoutParameter.
- Returns:
- {Number}
-
setGravity(gravity)Sets LinearGravity parameter for LayoutParameter.
- Parameters:
- {Number} gravity