<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Path/Element",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4PathV7ElementO"
  },
  "title" : "Path.Element"
}
-->

# Path.Element

An element of a path.

```
@frozen enum Element
```

## Topics

### Getting path elements

[`case closeSubpath`](/documentation/SwiftUI/Path/Element/closeSubpath)

A line from the start point of the current subpath (if any) to the
current point, which terminates the subpath.

[`case curve(to: CGPoint, control1: CGPoint, control2: CGPoint)`](/documentation/SwiftUI/Path/Element/curve(to:control1:control2:))

A cubic Bézier curve from the previous current point to the given
end-point, using the two control points to define the curve.

[`case line(to: CGPoint)`](/documentation/SwiftUI/Path/Element/line(to:))

A line from the previous current point to the given point, which
becomes the new current point.

[`case move(to: CGPoint)`](/documentation/SwiftUI/Path/Element/move(to:))

A path element that terminates the current subpath (without closing
it) and defines a new current point.

[`case quadCurve(to: CGPoint, control: CGPoint)`](/documentation/SwiftUI/Path/Element/quadCurve(to:control:))

A quadratic Bézier curve from the previous current point to the
given end-point, using the single control point to define the curve.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Copyable`](/documentation/Swift/Copyable)

---

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)