# ResponseNode

Artifact: [androidx.ink:ink-brush](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/brush/behavior/ResponseNode.kt+class:androidx.ink.brush.behavior.ResponseNode) Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

*** ** * ** ***

Common/All
- Cmn

  ```
  class ResponseNode : ValueNode
  ```

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||
| ↳ | [androidx.ink.brush.behavior.Node](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node) |||
|   | ↳ | [androidx.ink.brush.behavior.ValueNode](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode) ||
|   |   | ↳ | [androidx.ink.brush.behavior.ResponseNode](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode) |

*** ** * ** ***

A `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode` that maps an input value through a response curve.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode#ResponseNode(androidx.ink.brush.behavior.EasingFunction,androidx.ink.brush.behavior.ValueNode)(responseCurve: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/EasingFunction, input: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode)` Creates a `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode` that maps an input value through a response curve. | Cmn |

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode#hashCode()()` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode#toString()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode#input()` The input node that produces the value used to map through the response curve. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/EasingFunction` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode#responseCurve()` | Cmn |

### Inherited functions

From [androidx.ink.brush.behavior.Node](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node) `https://developer.android.com/reference/kotlin/androidx/ink/brush/Version` `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node#calculateMinimumRequiredVersion()()`

Returns the minimum required `https://developer.android.com/reference/kotlin/androidx/ink/brush/Version` for this `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node`.
Cmn

### Inherited properties

From [androidx.ink.brush.behavior.Node](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode>` `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node#inputs()`

The ordered list of inputs that this node directly depends on.
Cmn

## Public constructors

### ResponseNode

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
ResponseNode(responseCurve: EasingFunction, input: ValueNode)
```

Creates a `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ResponseNode` that maps an input value through a response curve.

| Parameters |
|---|---|
| `responseCurve: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/EasingFunction` | the response curve to apply to the input value |
| `input: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode` | input node that produces the value used to map through the response curve |

## Public functions

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

### toString

Cmn

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

## Public properties

### input

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val input: ValueNode
```

The input node that produces the value used to map through the response curve.

### responseCurve

Cmn Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

```
val responseCurve: EasingFunction
```