CubePresenter

constructor(orientation: Orientation = Horizontal, camera: (viewPort: Size) -> Camera = { Camera(Point(it.width / 2, it.height / 2), 1000.0) }, itemConstraints: ConstraintDslContext.(Bounds) -> Unit = fill)(source)

Parameters

orientation

indicates which axis the cube rotates around

camera

determining how the cube's perspective should be rendered

itemConstraints

that determine the bounds of each item relative to the Carousel