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

*** ** * ** ***


```
public abstract class TerminalNode extends Node
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.ink.brush.behavior.Node](https://developer.android.com/reference/androidx/ink/brush/behavior/Node) ||
|   | ↳ | [androidx.ink.brush.behavior.TerminalNode](https://developer.android.com/reference/androidx/ink/brush/behavior/TerminalNode) |

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

|---|---|
| `https://developer.android.com/reference/androidx/ink/brush/behavior/PolarTargetNode` | A `https://developer.android.com/reference/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/androidx/ink/brush/behavior/TargetNode` | A `https://developer.android.com/reference/androidx/ink/brush/behavior/TerminalNode` that consumes a single input to affect a scalar brush tip property. |

*** ** * ** ***

A `https://developer.android.com/reference/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/androidx/ink/brush/behavior/Node`s, but instead applies a modification to the brush tip state. A `https://developer.android.com/reference/androidx/ink/brush/BrushBehavior` consists of a list of `https://developer.android.com/reference/androidx/ink/brush/behavior/TerminalNode`s and the various `https://developer.android.com/reference/androidx/ink/brush/behavior/ValueNode`s that they transitively depend on.

## Summary

### Inherited methods

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

Returns the minimum required `https://developer.android.com/reference/androidx/ink/brush/Version` for this `https://developer.android.com/reference/androidx/ink/brush/behavior/Node`.
`final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/ink/brush/behavior/ValueNode>` `https://developer.android.com/reference/androidx/ink/brush/behavior/Node#getInputs()()`

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