Class ccs.Margin
- Defined in: UILayoutDefine.js
- Extends ccs.Class
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for ccs.Margin
|
Method Summary
Class Detail
ccs.Margin()
Base class for ccs.Margin
Method Detail
-
{boolean} equals(target)check is equals
- Parameters:
- {ccs.Margin} target
- Returns:
- {boolean}
-
setMargin(l, t, r, b)set margin
- Parameters:
- {Number} l
- {Number} t
- {Number} r
- {Number} b