View source
class LayoutViewPort
package feathers.controls.supportClasses
extends LayoutGroup › FeathersControl › MeasureSprite › ValidatingSprite
implements IViewPort
An implementation of IViewPort
that provides support for layouts.
Available since
1.0.0
.Constructor
Variables
manageChildVisibility:Bool
An optional performance optimization that adjusts the visible
property
of all children when the scroll position changes. The children inside
the view port bounds are made visible and the children outside the view
port bounds are made invisible.
Available since
1.1.0
.read onlysnapPositionsX:Array<Float>
If not null
, and the scroller is dragged with touch, the scrollX
position is snapped to the nearest position in the array when the drag
completes.
Available since
1.0.0
.read onlysnapPositionsY:Array<Float>
If not null
, and the scroller is dragged with touch, the scrollY
position is snapped to the nearest position in the array when the drag
completes.
Available since
1.0.0
.