An Insets object is a representation of the borders of a container.
It specifies the space that a container must leave at each of its edges. The space can be a border, a blank space, or a title.
public function Insets(top:int, left:int, bottom:int, right:int, init:Boolean = true)
Parameters | top:int |
| |
| left:int |
| |
| bottom:int |
| |
| right:int |
| |
| init:Boolean (default = true) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
public function clone():ObjectReturns protected function cloneImpl(o:Object):void Parameters
override public function equals(o:Object):Boolean Parameters
Returnsoverride public function getClass():ClassReturnsoverride public function hashCode():intReturns protected final function initInsets(top:int, left:int, bottom:int, right:int):void
Initializes this object. See the documentation of the corresponding factory method newInsets() for details.
Parameters
| top:int |
| |
| left:int |
| |
| bottom:int |
| |
| right:int |
See also
public static function newInsets(top:int, left:int, bottom:int, right:int):Insets Parameters
| top:int |
| |
| left:int |
| |
| bottom:int |
| |
| right:int |
Returns public function setInsets(top:int, left:int, bottom:int, right:int):void Parameters
| top:int |
| |
| left:int |
| |
| bottom:int |
| |
| right:int |
public function toString():StringReturns
Wed Oct 7 2015, 04:43 PM +02:00