# XWUITextOverlay

Text overlay for adding text to canvas with formatting options

## Basic Usage

Two draggable text overlays positioned over a sized canvas, each with its own font size and color.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two draggable text overlays positioned over a sized canvas, each with its own font size and color.
```

## Centered Rotated Caption

Overlays support per-item alignment, rotation, outline styling, and zIndex layering. This caption is centered, rotated 8 degrees, outlined, and stacked above a quieter tagline.

```example
file: examples/CenteredCaption.ts
html: examples/CenteredCaption.html
title: Centered Rotated Caption
description: A center-aligned outlined caption rotated 8 degrees and layered above a second tagline via zIndex.
```

## Photo Watermark

The overlay host can wrap any base element, such as a photo. Here a small italic, shadowed credit line is anchored over the lower-left corner of an image.

```example
file: examples/PhotoWatermark.ts
html: examples/PhotoWatermark.html
title: Photo Watermark
description: A small italic, shadowed credit line anchored over the lower-left of a photo.
```

```api
```
