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
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
Returns the scroll position nearest to the current scroll position to completely display the item's bounds within the view port's bounds. If the item is already completely displayed, this method returns the current scroll position unmodified.
Available since
1.0.0
.