public function layoutChildren(target:DisplayObjectContainer, bounds:Rectangle):Rectangle
Children of the target DisplayObjectContainer will be positioned and sized
based on a specified rectangle. There is no requirement that the children
remain entirely within that rectangle.
Returns the actual rectangular region in which the laid out
children will appear. This may be larger or smaller than the
suggested rectangle. This returned value is expected to be used by
container components to determine if scrollbars are needed.
Parameters
| target:DisplayObjectContainer — The DisplayObjectContainer whose children will be laid out.
|
|
| bounds:Rectangle — The rectangular region in which the children should be laid out.
|
Returns
| Rectangle — The actual region in which the children are contained.
|