# TransferParameters

Artifact: [androidx.compose.ui:ui-graphics](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/colorspace/TransferParameters.kt+class:androidx.compose.ui.graphics.colorspace.TransferParameters) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/All
- Cmn

  ```
  data class TransferParameters
  ```

*** ** * ** ***

Defines the parameters for the ICC parametric curve type 4, as defined in ICC.1:2004-10, section 10.15.

[The EOTF is of the form linked here](https://d.android.com/reference/android/graphics/ColorSpace.Rgb.TransferParameters)

The corresponding OETF is simply the inverse function.

The parameters defined by this class form a valid transfer function only if all the following conditions are met:

- No parameter is a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/index.html`

- `d` is in the range `[0..1]`

- The function is not constant

- The function is positive and increasing

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#TransferParameters(kotlin.Double,kotlin.Double,kotlin.Double,kotlin.Double,kotlin.Double,kotlin.Double,kotlin.Double)( gamma: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, a: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, b: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, c: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, d: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, e: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, f: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html )` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#a()` Value a in the equation of the EOTF described above. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#b()` Value b in the equation of the EOTF described above. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#c()` Value c in the equation of the EOTF described above. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#d()` Value d in the equation of the EOTF described above. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#e()` Value e in the equation of the EOTF described above. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#f()` Value f in the equation of the EOTF described above. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/colorspace/TransferParameters#gamma()` Value g in the equation of the EOTF described above. | Cmn |

## Public constructors

### TransferParameters

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

```
TransferParameters(
    gamma: Double,
    a: Double,
    b: Double,
    c: Double,
    d: Double,
    e: Double = 0.0,
    f: Double = 0.0
)
```

## Public properties

### a

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

```
val a: Double
```

Value a in the equation of the EOTF described above.

### b

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

```
val b: Double
```

Value b in the equation of the EOTF described above.

### c

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

```
val c: Double
```

Value c in the equation of the EOTF described above.

### d

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

```
val d: Double
```

Value d in the equation of the EOTF described above.

### e

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

```
val e: Double
```

Value e in the equation of the EOTF described above.

### f

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

```
val f: Double
```

Value f in the equation of the EOTF described above.

### gamma

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

```
val gamma: Double
```

Value g in the equation of the EOTF described above.