Positions and sizes children in a container.

Events:

openfl.events.Event.CHANGE
Available since

1.0.0

.

Methods

layout(items:Array<DisplayObject>, measurements:Measurements, ?result:LayoutBoundsResult):LayoutBoundsResult

Positions and sizes an array of display objects based on their parent container's measurements. Returns new measurements, if the parent does not have explicit measurements.

Available since

1.0.0

.