---
title: "init(x:y:)"
framework: corefoundation
role: symbol
role_heading: Initializer
path: "corefoundation/cgpoint/init(x:y:)-4lkgz"
---

# init(x:y:)

## Declaration

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