# ScrollAxisRange

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/semantics/SemanticsProperties.kt+class:androidx.compose.ui.semantics.ScrollAxisRange) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  class ScrollAxisRange
  ```

*** ** * ** ***

The scroll state of one axis if this node is scrollable.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#ScrollAxisRange(kotlin.Function0,kotlin.Function0,kotlin.Boolean)( value: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, maxValue: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, reverseScrolling: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` | Cmn |

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#toString()()` | Cmn |

| ### Public properties |
|---|---|---|
| `() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#maxValue()` maximum bound for `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()`, or `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/-companion/-p-o-s-i-t-i-v-e_-i-n-f-i-n-i-t-y.html` if still unknown | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#reverseScrolling()` for horizontal scroll, when this is `true`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean right, when`false`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean left. | Cmn |
| `() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` current 0-based scroll position value (either in pixels, or lazy-item count) | Cmn |

## Public constructors

### ScrollAxisRange

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
ScrollAxisRange(
    value: () -> Float,
    maxValue: () -> Float,
    reverseScrolling: Boolean = false
)
```

| Parameters |
|---|---|
| `value: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | current 0-based scroll position value (either in pixels, or lazy-item count) |
| `maxValue: () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | maximum bound for `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()`, or `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/-companion/-p-o-s-i-t-i-v-e_-i-n-f-i-n-i-t-y.html` if still unknown |
| `reverseScrolling: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = false` | for horizontal scroll, when this is `true`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean right, when`false`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean left. For vertical scroll, when this is `true`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean bottom, when `false`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean top |

## Public functions

### toString

Cmn

```
open fun toString(): String
```

## Public properties

### maxValue

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val maxValue: () -> Float
```

maximum bound for `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()`, or `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/-companion/-p-o-s-i-t-i-v-e_-i-n-f-i-n-i-t-y.html` if still unknown

### reverseScrolling

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val reverseScrolling: Boolean
```

for horizontal scroll, when this is `true`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean right, when`false`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean left. For vertical scroll, when this is `true`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean bottom, when `false`, 0 `https://developer.android.com/reference/kotlin/androidx/compose/ui/semantics/ScrollAxisRange#value()` will mean top

### value

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val value: () -> Float
```

current 0-based scroll position value (either in pixels, or lazy-item count)