---
title: alignment
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpimageoverlay/alignment-swift.property
---

# alignment

The alignment for positioning the overlay.

## Declaration

```swift
var alignment: CPImageOverlay.Alignment { get }
```
