---
title: "OverlayAlign"
description: "OverlayAlign"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/swift/reference/overlayalign"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-21"
---

# OverlayAlign

## OverlayAlign

The overlay-align parameter lets you define the position of the overlay image.

Align the overlay image to the top of the actual image.

Align the overlay image to the bottom of the actual image.

Align the overlay image to the left of the actual image.

Align the overlay image to the right of the actual image.

Align the overlay image to the middle (vertically) of the actual image.

Align the overlay image to the center (horizontally) of the actual image.

Align the overlay image to the top-left of the actual image.

Align the overlay image to the top-right of the actual image.

Align the overlay image to the bottom-left of the actual image.

Align the overlay image to the bottom-right of the actual image.

## OverlayAlign | Swift Delivery SDK | Contentstack

OverlayAlign lets you set the position of an overlay image on a given image in the Contentstack Swift Delivery SDK.