# PathNode.RelativeHorizontalTo

Artifact: [androidx.compose.ui:ui-graphics](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/PathNode.kt+class:androidx.compose.ui.graphics.vector.PathNode.RelativeHorizontalTo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/All
- Cmn

  ```
  data class PathNode.RelativeHorizontalTo : PathNode
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.compose.ui.graphics.vector.PathNode](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode) ||
|   | ↳ | [androidx.compose.ui.graphics.vector.PathNode.RelativeHorizontalTo](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeHorizontalTo) |

*** ** * ** ***

Draws a horizontal line from the current point, offset by a relative distance `dx`. Corresponds to the `h` path data command.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeHorizontalTo#RelativeHorizontalTo(kotlin.Float)(dx: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeHorizontalTo#dx()` The relative change in the x-coordinate. | Cmn |

| ### Inherited properties |
|---|
| From [androidx.compose.ui.graphics.vector.PathNode](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode) |---|---|---| | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode#isCurve()` `true` if this command is a cubic Bézier curve, `false` otherwise. | Cmn | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode#isQuad()` `true` if this command is a quadratic Bézier curve, `false` otherwise. | Cmn | |

## Public constructors

### RelativeHorizontalTo

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
RelativeHorizontalTo(dx: Float)
```

| Parameters |
|---|---|
| `dx: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative change in the x-coordinate. |

## Public properties

### dx

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val dx: Float
```

The relative change in the x-coordinate.