<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGPathElement",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@S@CGPathElement"
  },
  "title" : "CGPathElement"
}
-->

# CGPathElement

A data structure that provides information about a path element.

```
struct CGPathElement
```

## Topics

### Initializers

[`init(type:points:)`](/documentation/CoreGraphics/CGPathElement/init(type:points:))

### Instance Properties

[`points`](/documentation/CoreGraphics/CGPathElement/points)

An array of one or more points that serve as arguments.

[`type`](/documentation/CoreGraphics/CGPathElement/type)

An element type (or operation).



---

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)