---
title: "init(x:y:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avcaptionpoint/init(x:y:)"
---

# init(x:y:)

Creates a caption point with x and y coordinates.

## Declaration

```swift
init(x: AVCaptionDimension, y: AVCaptionDimension)
```

## Parameters

- `x`: The point’s x coordinate.
- `y`: The point’s y coordinate.
