---
title: NSLineToBezierPathElement
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nslinetobezierpathelement
---

# NSLineToBezierPathElement

Creates a straight line from the current drawing point to the specified point.

## Declaration

```occ
static const NSBezierPathElement NSLineToBezierPathElement;
```

## Discussion

Discussion Lines and rectangles are specified using this path element. Contains 1 point.

## See Also

### Deprecated Constants

- [NSMoveToBezierPathElement](appkit/nsmovetobezierpathelement.md)
- [NSCurveToBezierPathElement](appkit/nscurvetobezierpathelement.md)
- [NSClosePathBezierPathElement](appkit/nsclosepathbezierpathelement.md)
