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