# PathNode.RelativeReflectiveCurveTo

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

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

*** ** * ** ***

Draws a smooth cubic Bézier curve using relative coordinates. This command ensures a seamless connection to a previous curve by inferring its first control point as a reflection of the last control point of the preceding command. Corresponds to the `s` path data command.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeReflectiveCurveTo#RelativeReflectiveCurveTo(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.RelativeReflectiveCurveTo#dx1()` The relative x-offset of the second 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.RelativeReflectiveCurveTo#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.RelativeReflectiveCurveTo#dy1()` The relative y-offset of the second 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.RelativeReflectiveCurveTo#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

### RelativeReflectiveCurveTo

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

```
RelativeReflectiveCurveTo(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 second control point. |
| `dy1: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative y-offset of the second 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 second 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 second 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.