---
title: "Path.Element.quadCurve(to:control:)"
framework: swiftui
role: symbol
role_heading: Case
path: "swiftui/path/element/quadcurve(to:control:)"
---

# Path.Element.quadCurve(to:control:)

A quadratic Bézier curve from the previous current point to the given end-point, using the single control point to define the curve.

## Declaration

```swift
case quadCurve(to: CGPoint, control: CGPoint)
```

## Discussion

Discussion The end-point of the curve becomes the new current point.

## See Also

### Getting path elements

- [Path.Element.closeSubpath](swiftui/path/element/closesubpath.md)
- [Path.Element.curve(to:control1:control2:)](swiftui/path/element/curve(to:control1:control2:).md)
- [Path.Element.line(to:)](swiftui/path/element/line(to:).md)
- [Path.Element.move(to:)](swiftui/path/element/move(to:).md)
