View source
interface ILayout
package feathers.layout
extends IEventDispatcher
extended by AnchorLayout, FormLayout, GridViewRowLayout, HDividedBoxLayout, HorizontalDistributedLayout, HorizontalLayout, IScrollLayout, ResponsiveGridLayout, VDividedBoxLayout, VerticalDistributedLayout, VerticalLayout
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
.