View source
interface IScrollLayout
package feathers.layout
extends ILayout
extended by IVirtualLayout
A layout that is affected by changes to scroll position.
Available since
1.0.0
.Variables
read 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
.scrollX:Float
The horizontal 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
.