# PathNode.ArcTo

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

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

*** ** * ** ***

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

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/PathNode.ArcTo#ArcTo(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, arcStartX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, arcStartY: 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.ArcTo#arcStartX()` The absolute x-coordinate 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.ArcTo#arcStartY()` The absolute y-coordinate 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.ArcTo#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.ArcTo#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.ArcTo#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.ArcTo#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.ArcTo#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

### ArcTo

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

```
ArcTo(
    horizontalEllipseRadius: Float,
    verticalEllipseRadius: Float,
    theta: Float,
    isMoreThanHalf: Boolean,
    isPositiveArc: Boolean,
    arcStartX: Float,
    arcStartY: 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. |
| `arcStartX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The absolute x-coordinate of the arc's end point. |
| `arcStartY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The absolute y-coordinate of the arc's end point. |

## Public properties

### arcStartX

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

```
val arcStartX: Float
```

The absolute x-coordinate of the arc's end point.

### arcStartY

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

```
val arcStartY: Float
```

The absolute y-coordinate 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.