SlicerPresenter
constructor(numSlices: Int = 5, orientation: Orientation = Vertical, anchor: Anchor = Leading, cutRelativeTo: SlicerPresenter.CutRelativeTo = Carousel, itemConstraints: ConstraintDslContext.(Bounds) -> Unit = fill)(source)
Parameters
numSlices
to split the frame into when transitioning
orientation
indicates which direction the items fill travel when transitioning
anchor
indicates which part of the item starts moving first
cutRelativeTo
indicates whether cuts are relative to the Carousel or the item
itemConstraints
that determine the bounds of each item relative to the Carousel