# PathNode.RelativeQuadTo

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.RelativeQuadTo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/All
- Cmn

  ```
  data class PathNode.RelativeQuadTo : 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.RelativeQuadTo](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeQuadTo) |

*** ** * ** ***

Draws a quadratic Bézier curve from the current point to a new point using relative coordinates. Corresponds to the `q` path data command.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeQuadTo#RelativeQuadTo(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)(dx1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dy1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dx2: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dy2: 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.RelativeQuadTo#dx1()` The relative x-offset of the control point. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeQuadTo#dx2()` The relative x-offset of the curve's end point. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeQuadTo#dy1()` The relative y-offset of the control point. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeQuadTo#dy2()` The relative y-offset of the curve's end point. | 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

### RelativeQuadTo

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

```
RelativeQuadTo(dx1: Float, dy1: Float, dx2: Float, dy2: Float)
```

| Parameters |
|---|---|
| `dx1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative x-offset of the control point. |
| `dy1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative y-offset of the control point. |
| `dx2: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative x-offset of the curve's end point. |
| `dy2: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative y-offset of the curve's end point. |

## Public properties

### dx1

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

```
val dx1: Float
```

The relative x-offset of the control point.

### dx2

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

```
val dx2: Float
```

The relative x-offset of the curve's end point.

### dy1

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

```
val dy1: Float
```

The relative y-offset of the control point.

### dy2

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

```
val dy2: Float
```

The relative y-offset of the curve's end point.