Companion

Properties

Link copied to clipboard

Every step the ladder has, from the widest view out to the closest one in.

Functions

Link copied to clipboard
fun fitting(duration: Duration, viewportWidthPx: Float): TimelineZoom

The zoom whose content fills viewportWidthPx without going past it.

Link copied to clipboard
fun of(step: Int): TimelineZoom

The step at step, clamped into Steps.