---
title: CGPathElement
framework: coregraphics
role: symbol
role_heading: Structure
path: coregraphics/cgpathelement
---

# CGPathElement

A data structure that provides information about a path element.

## Declaration

```swift
struct CGPathElement
```

## Topics

### Initializers

- [init(type:points:)](coregraphics/cgpathelement/init(type:points:).md)

### Instance Properties

- [points](coregraphics/cgpathelement/points.md)
- [type](coregraphics/cgpathelement/type.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Applying a Function to the Elements of a Path

- [apply(info:function:)](coregraphics/cgpath/apply(info:function:).md)
- [CGPathApplierFunction](coregraphics/cgpathapplierfunction.md)
- [CGPathElementType](coregraphics/cgpathelementtype.md)
