Source set: Common
public class ScrollAxisRange(
public val value: () -> Float,
public val maxValue: () -> Float,
public val reverseScrolling: Boolean = false,
)
The scroll state of one axis if this node is scrollable.
Parameters
| value | current 0-based scroll position value (either in pixels, or lazy-item count) |
| maxValue | maximum bound for value, or Float.POSITIVE_INFINITY if still unknown |
| reverseScrolling | for horizontal scroll, when this is true, 0 value will mean right, whenfalse, 0 value will mean left. For vertical scroll, when this is true, 0 value will mean bottom, when false, 0 value will mean top |
Functions
toString
Source set: Common
override fun toString(): String