A layout that supports snap positions.

Available since

1.0.0

.

Methods

getSnapPositionsX(items:Array<DisplayObject>, viewPortWidth:Float, viewPortHeight:Float, ?result:Array<Float>):Array<Float>

The snap positions on the horizontal x-axis. May return null, if there are no snap positions.

Available since

1.0.0

.

getSnapPositionsY(items:Array<DisplayObject>, viewPortWidth:Float, viewPortHeight:Float, ?result:Array<Float>):Array<Float>

The snap positions on the vertical y-axis. May return null, if there are no snap positions.

Available since

1.0.0

.