ScrollAxisRange
-
Cmn
class ScrollAxisRange
The scroll state of one axis if this node is scrollable.
Summary
Public constructors |
|
|---|---|
ScrollAxisRange( |
Cmn
|
Public properties |
||
|---|---|---|
() -> Float |
maximum bound for |
Cmn
|
Boolean |
for horizontal scroll, when this is |
Cmn
|
() -> Float |
current 0-based scroll position value (either in pixels, or lazy-item count) |
Cmn
|
Public constructors
ScrollAxisRange
ScrollAxisRange(
value: () -> Float,
maxValue: () -> Float,
reverseScrolling: Boolean = false
)
| Parameters | |
|---|---|
value: () -> Float |
current 0-based scroll position value (either in pixels, or lazy-item count) |
maxValue: () -> Float |
maximum bound for |
reverseScrolling: Boolean = false |
for horizontal scroll, when this is |
Public properties
maxValue
val maxValue: () -> Float
maximum bound for value, or Float.POSITIVE_INFINITY if still unknown