Google is committed to advancing racial equity for Black communities. See how.

# TransferParameters

`data class TransferParameters`
 kotlin.Any ↳ androidx.ui.graphics.colorspace.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

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 Not-a-Number
• `d` is in the range `[0..1]`
• The function is not constant
• The function is positive and increasing

## Summary

Public constructors
`<init>(gamma: Double, a: Double, b: Double, c: Double, d: Double, e: Double = 0.0, f: Double = 0.0)`

Defines the parameters for the ICC parametric curve type 4, as defined in ICC.

Properties
Double
`a`

Value a in the equation of the EOTF described above.

Double
`b`

Value b in the equation of the EOTF described above.

Double
`c`

Value c in the equation of the EOTF described above.

Double
`d`

Value d in the equation of the EOTF described above.

Double
`e`

Value e in the equation of the EOTF described above.

Double
`f`

Value f in the equation of the EOTF described above.

Double
`gamma`

Value g in the equation of the EOTF described above.

## Public constructors

### <init>

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

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

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 Not-a-Number
• `d` is in the range `[0..1]`
• The function is not constant
• The function is positive and increasing

## Properties

### a

`val a: Double`

Value a in the equation of the EOTF described above.

### b

`val b: Double`

Value b in the equation of the EOTF described above.

### c

`val c: Double`

Value c in the equation of the EOTF described above.

### d

`val d: Double`

Value d in the equation of the EOTF described above.

### e

`val e: Double`

Value e in the equation of the EOTF described above.

### f

`val f: Double`

Value f in the equation of the EOTF described above.

### gamma

`val gamma: Double`

Value g in the equation of the EOTF described above.