A layout that is affected by changes to scroll position.

Available since

1.0.0

.

Variables

@:flash.propertyread onlyelasticBottom:Bool

Indicates if the bottom edge is elastic.

Available since

1.0.0

.

@:flash.propertyread onlyelasticLeft:Bool

Indicates if the left edge is elastic.

Available since

1.0.0

.

@:flash.propertyread onlyelasticRight:Bool

Indicates if the right edge is elastic.

Available since

1.0.0

.

@:flash.propertyread onlyelasticTop:Bool

Indicates if the top edge is elastic.

Available since

1.0.0

.

@:flash.propertyread onlyrequiresLayoutOnScroll:Bool

Determines if the container calls layout() when the scroll position changes. Useful for transforming items as the view port scrolls. This alue should typically be true for layouts that implement the IVirtualLayout interface and the useVirtualLayout property is set to true. May also be used by layouts that toggle item visibility as the items scroll into and out of the view port.

Available since

1.0.0

.

@:flash.propertyscrollX:Float

The horizontal scroll position of the container using this layout.

Available since

1.0.0

.

@:flash.propertyscrollY:Float

The vertical scroll position of the container using this layout.

Available since

1.0.0

.

Methods

getNearestScrollPositionForIndex(index:Int, itemCount:Int, width:Float, height:Float, ?result:Point):Point

Available since

1.0.0

.