---
title: NSBezierPath.ElementType.closePath
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsbezierpath/elementtype/closepath
---

# NSBezierPath.ElementType.closePath

Marks the end of the current subpath at the specified point.

## Declaration

```swift
case closePath
```

## See Also

### Constants

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