---
title: NSCurveToBezierPathElement
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nscurvetobezierpathelement
---

# NSCurveToBezierPathElement

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

## Declaration

```occ
static const NSBezierPathElement NSCurveToBezierPathElement;
```

## Discussion

Discussion The points are stored in the following order: controlPoint1, controlPoint2, endPoint. Ovals, arcs, and Bezier curves all use curve elements to specify their geometry. Contains 3 points.

## See Also

### Deprecated Constants

- [NSMoveToBezierPathElement](appkit/nsmovetobezierpathelement.md)
- [NSLineToBezierPathElement](appkit/nslinetobezierpathelement.md)
- [NSClosePathBezierPathElement](appkit/nsclosepathbezierpathelement.md)
