<!--
{
  "availability" : [
    "macOS: 11.0.0 - 14.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBezierPath/ElementType/curveTo",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSBezierPathElement@NSBezierPathElementCurveTo"
  },
  "title" : "curveTo"
}
-->

# curveTo

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)