class org.aswing.Insets
Sub classes | ||||
InsetsUIResource |
|
-
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. *
- Author paling
Class Fields
static function createIdentic(edge:Int): Insets
Creates new Insets
instance with identic edges.
edge | the edge value for insets. |
returns | new insets instance. |
Instance Fields
function getInsideBounds(bounds:IntRectangle): IntRectangle
Apply insets to the bounds and return inner bounds.
function getInsideSize(?size:IntDimension = null): IntDimension
Return the size after insets substraction.
function getOutsideBounds(bounds:IntRectangle): IntRectangle
Apply insets to the bounds and return outer bounds.
function getOutsideSize(?size:IntDimension = null): IntDimension
Return the size after insets addition.