Packagecom.yworks.bridge.geom
Classpublic class Insets
InheritanceInsets Inheritance YObject Inheritance Object
Implements Clonable

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 Properties
 PropertyDefined By
  bottom : int
Insets
  left : int
Insets
  right : int
Insets
  top : int
Insets
Public Methods
 MethodDefined By
  
Insets(top:int, left:int, bottom:int, right:int, init:Boolean = true)
Insets
  
clone():Object
Insets
  
equals(o:Object):Boolean
[override]
Insets
  
getClass():Class
[override]
Insets
  
hashCode():int
[override]
Insets
  
newInsets(top:int, left:int, bottom:int, right:int):Insets
[static]
Insets
  
setInsets(top:int, left:int, bottom:int, right:int):void
Insets
  
toString():String
Insets
Protected Methods
 MethodDefined By
  
cloneImpl(o:Object):void
Insets
  
initInsets(top:int, left:int, bottom:int, right:int):void
Initializes this object.
Insets
Property Detail
bottomproperty
public var bottom:int

leftproperty 
public var left:int

rightproperty 
public var right:int

topproperty 
public var top:int

Constructor Detail
Insets()Constructor
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.
Method Detail
clone()method
public function clone():Object

Returns
Object
cloneImpl()method 
protected function cloneImpl(o:Object):void

Parameters

o:Object

equals()method 
override public function equals(o:Object):Boolean

Parameters

o:Object

Returns
Boolean
getClass()method 
override public function getClass():Class

Returns
Class
hashCode()method 
override public function hashCode():int

Returns
int
initInsets()method 
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

newInsets()method 
public static function newInsets(top:int, left:int, bottom:int, right:int):Insets

Parameters

top:int
 
left:int
 
bottom:int
 
right:int

Returns
Insets
setInsets()method 
public function setInsets(top:int, left:int, bottom:int, right:int):void

Parameters

top:int
 
left:int
 
bottom:int
 
right:int

toString()method 
public function toString():String

Returns
String