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 var bottom:int = 0
public var left:int = 0
public var right:int = 0
public var top:int = 0
public function Insets(top:int = 0, left:int = 0, bottom:int = 0, right:int = 0)
Creats an insets.
Parameters
| top:int (default = 0) |
| |
| left:int (default = 0) |
| |
| bottom:int (default = 0) |
| |
| right:int (default = 0) |
public function addInsets(insets:Insets):Insets
This insets add specified insets and return itself.
Parameters
Returns
public function clone():Insets
Returns
public static function createIdentic(edge:int):Insets
Creates new Insets instance with identic edges.
Parameters
| edge:int — the edge value for insets.
|
Returns
public function equals(o:Object):BooleanParameters
Returns
public function getInsideBounds(bounds:IntRectangle):IntRectangleParameters
Returns
public function getInsideSize(size:IntDimension = null):IntDimensionParameters
Returns
public function getMarginHeight():int
Returns
public function getMarginWidth():int
Returns
public function getOutsideBounds(bounds:IntRectangle):IntRectangleParameters
Returns
public function getOutsideSize(size:IntDimension = null):IntDimensionParameters
Returns
public function toString():String
Returns