# PathNode.RelativeArcTo

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

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

*** ** * ** ***

Draws an elliptical arc from the current point to a new point using relative coordinates. Corresponds to the `a` path data command.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeArcTo#RelativeArcTo(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean,kotlin.Boolean,kotlin.Float,kotlin.Float)( horizontalEllipseRadius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, verticalEllipseRadius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, theta: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, isMoreThanHalf: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isPositiveArc: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, arcStartDx: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, arcStartDy: 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.RelativeArcTo#arcStartDx()` The relative x-offset of the arc'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.RelativeArcTo#arcStartDy()` The relative y-offset of the arc'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.RelativeArcTo#horizontalEllipseRadius()` The radius of the ellipse on the x-axis. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeArcTo#isMoreThanHalf()` If `true`, the larger of the two possible arcs is chosen. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeArcTo#isPositiveArc()` If `true`, the arc is drawn in a "positive-angle" direction. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeArcTo#theta()` The rotation angle of the ellipse in degrees. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.RelativeArcTo#verticalEllipseRadius()` The radius of the ellipse on the y-axis. | 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

### RelativeArcTo

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

```
RelativeArcTo(
    horizontalEllipseRadius: Float,
    verticalEllipseRadius: Float,
    theta: Float,
    isMoreThanHalf: Boolean,
    isPositiveArc: Boolean,
    arcStartDx: Float,
    arcStartDy: Float
)
```

| Parameters |
|---|---|
| `horizontalEllipseRadius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The radius of the ellipse on the x-axis. |
| `verticalEllipseRadius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The radius of the ellipse on the y-axis. |
| `theta: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The rotation angle of the ellipse in degrees. |
| `isMoreThanHalf: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If `true`, the larger of the two possible arcs is chosen. |
| `isPositiveArc: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If `true`, the arc is drawn in a "positive-angle" direction. |
| `arcStartDx: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative x-offset of the arc's end point. |
| `arcStartDy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The relative y-offset of the arc's end point. |

## Public properties

### arcStartDx

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

```
val arcStartDx: Float
```

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

### arcStartDy

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

```
val arcStartDy: Float
```

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

### horizontalEllipseRadius

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

```
val horizontalEllipseRadius: Float
```

The radius of the ellipse on the x-axis.

### isMoreThanHalf

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

```
val isMoreThanHalf: Boolean
```

If `true`, the larger of the two possible arcs is chosen.

### isPositiveArc

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

```
val isPositiveArc: Boolean
```

If `true`, the arc is drawn in a "positive-angle" direction.

### theta

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

```
val theta: Float
```

The rotation angle of the ellipse in degrees.

### verticalEllipseRadius

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

```
val verticalEllipseRadius: Float
```

The radius of the ellipse on the y-axis.