---
title: NSBezierPath.ElementType
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsbezierpath/elementtype
---

# NSBezierPath.ElementType

Constants that specify basic path element commands.

## Declaration

```swift
enum ElementType
```

## Overview

Overview These commands are enough to define all of the possible path shapes. Each command has one or more points that contain information needed to position the path element. Most path elements use the current drawing point as the starting point for drawing. For more information, see NSBezierPath.

## Topics

### 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)
- [curveTo](appkit/nsbezierpath/elementtype/curveto.md)
- [NSBezierPath.ElementType.cubicCurveTo](appkit/nsbezierpath/elementtype/cubiccurveto.md)
- [NSBezierPath.ElementType.quadraticCurveTo](appkit/nsbezierpath/elementtype/quadraticcurveto.md)

### Initializers

- [init(rawValue:)](appkit/nsbezierpath/elementtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [NSBezierPath.LineJoinStyle](appkit/nsbezierpath/linejoinstyle-swift.enum.md)
- [NSBezierPath.LineCapStyle](appkit/nsbezierpath/linecapstyle-swift.enum.md)
- [NSBezierPath.WindingRule](appkit/nsbezierpath/windingrule-swift.enum.md)
