# PolarTargetNode.PolarTarget

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

*** ** * ** ***

Common/All
- Cmn

  ```
  class PolarTargetNode.PolarTarget
  ```

*** ** * ** ***

List of vector tip properties that can be modified by a `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushBehavior`.

## Summary

| ### Public companion properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget#POSITION_OFFSET_ABSOLUTE_IN_RADIANS_AND_MULTIPLES_OF_BRUSH_SIZE()` Adds the vector to the brush tip's absolute x/y position in stroke space, where the angle input is measured in radians and the magnitude input is measured in units equal to the brush size. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget#POSITION_OFFSET_RELATIVE_IN_RADIANS_AND_MULTIPLES_OF_BRUSH_SIZE()` Adds the vector to the brush tip's forward/lateral position relative to the current direction of input travel, where the angle input is measured in radians and the magnitude input is measured in units equal to the brush size. | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/ink/brush/Version` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget#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/PolarTargetNode.PolarTarget`. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget#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.PolarTarget#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.PolarTarget#toString()()` | Cmn |

## Public companion properties

### POSITION_OFFSET_ABSOLUTE_IN_RADIANS_AND_MULTIPLES_OF_BRUSH_SIZE

Cmn

```
val POSITION_OFFSET_ABSOLUTE_IN_RADIANS_AND_MULTIPLES_OF_BRUSH_SIZE: PolarTargetNode.PolarTarget
```

Adds the vector to the brush tip's absolute x/y position in stroke space, where the angle input is measured in radians and the magnitude input is measured in units equal to the brush size. An angle of zero indicates an offset in the direction of the positive X-axis in stroke space; an angle of π/2 indicates the direction of the positive Y-axis in stroke space.

### POSITION_OFFSET_RELATIVE_IN_RADIANS_AND_MULTIPLES_OF_BRUSH_SIZE

Cmn

```
val POSITION_OFFSET_RELATIVE_IN_RADIANS_AND_MULTIPLES_OF_BRUSH_SIZE: PolarTargetNode.PolarTarget
```

Adds the vector to the brush tip's forward/lateral position relative to the current direction of input travel, where the angle input is measured in radians and the magnitude input is measured in units equal to the brush size. An angle of zero indicates a forward offset in the current direction of input travel, while an angle of π indicates a backwards offset. Meanwhile, if the X- and Y-axes of stroke space were rotated so that the positive X-axis points in the direction of stroke travel, then an angle of π/2 would indicate a lateral offset towards the positive Y-axis, and an angle of -π/2 would indicate a lateral offset towards the negative Y-axis.

## Public functions

### calculateMinimumRequiredVersion

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

```
fun calculateMinimumRequiredVersion(): Version
```

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/PolarTargetNode.PolarTarget`.

By default, decoding a `https://developer.android.com/reference/kotlin/androidx/ink/brush/BrushFamily` containing a `https://developer.android.com/reference/kotlin/androidx/ink/brush/behavior/PolarTargetNode.PolarTarget` with a minimum required version higher than `https://developer.android.com/reference/kotlin/androidx/ink/brush/Version#MAX_SUPPORTED()` will fail.

### equals

Cmn

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

### hashCode

Cmn

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

### toString

Cmn

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