# TerminalNode

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/TerminalNode.kt+class:androidx.ink.brush.behavior.TerminalNode) Added in [1.1.0-alpha11](https://developer.android.com/jetpack/androidx/releases/ink#1.1.0-alpha11)

*** ** * ** ***

Common/All
- Cmn

  ```
  abstract class TerminalNode : Node
  ```

|---|---|---|
| [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.TerminalNode](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TerminalNode) |

Known direct subclasses [PolarTargetNode](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode), [TargetNode](https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TargetNode)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode` | A `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TerminalNode` that consumes two inputs, an angle and a magnitude, to affect a vector brush tip property. |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TargetNode` | A `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TerminalNode` that consumes a single input to affect a scalar brush tip property. |

*** ** * ** ***

A `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TerminalNode` is a terminal node in the graph; it does not produce a value and cannot be used as an input to other `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/Node`s, but instead applies a modification to the brush tip state. A `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushBehavior` consists of a list of `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/TerminalNode`s and the various `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode`s that they transitively depend on.

## Summary

### 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