# PolarTargetNode

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

*** ** * ** ***

Common/All
- Cmn

  ```
  class PolarTargetNode : TerminalNode
  ```

|---|---|---|---|
| [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) ||
|   |   | ↳ | [androidx.ink.brush.behavior.PolarTargetNode](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.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget` List of vector tip properties that can be modified by a `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushBehavior`. |

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#PolarTargetNode(androidx.ink.brush.behavior.PolarTargetNode.PolarTarget,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode)( target: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget, angleRangeStart: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, angleRangeEnd: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, angleInput: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode, magnitudeRangeStart: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, magnitudeRangeEnd: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, magnitudeInput: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode )` Creates a `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode` that consumes two inputs, an angle and a magnitude, to affect a vector brush tip property. | 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/PolarTargetNode#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/PolarTargetNode#hashCode()()` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#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/PolarTargetNode#angleInput()` The input node that produces the value used to affect the angle of the target vector property. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#angleRangeEnd()` The end of the angle range for the target property. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#angleRangeStart()` The start of the angle range for the target property. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#magnitudeInput()` The input node that produces the value used to affect the magnitude of the target vector property. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#magnitudeRangeEnd()` The end of the magnitude range for the target property. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#magnitudeRangeStart()` The start of the magnitude range for the target property. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#target()` The vector brush tip property to affect. | 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

### PolarTargetNode

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

```
PolarTargetNode(
    target: PolarTargetNode.PolarTarget,
    angleRangeStart: Float,
    angleRangeEnd: Float,
    angleInput: ValueNode,
    magnitudeRangeStart: Float,
    magnitudeRangeEnd: Float,
    magnitudeInput: ValueNode
)
```

Creates a `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode` that consumes two inputs, an angle and a magnitude, to affect a vector brush tip property.

| Parameters |
|---|---|
| `target: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget` | vector brush tip property to affect |
| `angleRangeStart: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | start of the angle range for the target property. Must be finite and distinct from `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#(androidx.ink.brush.behavior.PolarTargetNode.PolarTarget,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode)` |
| `angleRangeEnd: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | end of the angle range for the target property. Must be finite and distinct from `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#(androidx.ink.brush.behavior.PolarTargetNode.PolarTarget,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode)` |
| `angleInput: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode` | input node that produces the value used to affect the angle of the target vector property |
| `magnitudeRangeStart: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | start of the magnitude range for the target property. Must be finite and distinct from `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#(androidx.ink.brush.behavior.PolarTargetNode.PolarTarget,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode)` |
| `magnitudeRangeEnd: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | end of the magnitude range for the target property. Must be finite and distinct from `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode#(androidx.ink.brush.behavior.PolarTargetNode.PolarTarget,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode,kotlin.Float,kotlin.Float,androidx.ink.brush.behavior.ValueNode)` |
| `magnitudeInput: https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/ValueNode` | input node that produces the value used to affect the magnitude of the target vector property |

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

### angleInput

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

```
val angleInput: ValueNode
```

The input node that produces the value used to affect the angle of the target vector property.

### angleRangeEnd

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

```
val angleRangeEnd: Float
```

The end of the angle range for the target property.

### angleRangeStart

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

```
val angleRangeStart: Float
```

The start of the angle range for the target property.

### magnitudeInput

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

```
val magnitudeInput: ValueNode
```

The input node that produces the value used to affect the magnitude of the target vector property.

### magnitudeRangeEnd

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

```
val magnitudeRangeEnd: Float
```

The end of the magnitude range for the target property.

### magnitudeRangeStart

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

```
val magnitudeRangeStart: Float
```

The start of the magnitude range for the target property.

### target

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

```
val target: PolarTargetNode.PolarTarget
```

The vector brush tip property to affect.