---
title: curveTo
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsbezierpath/elementtype/curveto
---

# curveTo

Creates a curved line segment from the current point to the specified endpoint using two control points to define the curve.

## Declaration

```swift
static var curveTo: NSBezierPath.ElementType { get }
```

## See Also

### Constants

- [NSBezierPath.ElementType.moveTo](appkit/nsbezierpath/elementtype/moveto.md)
- [NSBezierPath.ElementType.lineTo](appkit/nsbezierpath/elementtype/lineto.md)
- [NSBezierPath.ElementType.closePath](appkit/nsbezierpath/elementtype/closepath.md)
- [NSBezierPath.ElementType.cubicCurveTo](appkit/nsbezierpath/elementtype/cubiccurveto.md)
- [NSBezierPath.ElementType.quadraticCurveTo](appkit/nsbezierpath/elementtype/quadraticcurveto.md)
