---
title: "init(x:y:width:height:)"
framework: corefoundation
role: symbol
role_heading: Initializer
path: "corefoundation/cgrect/init(x:y:width:height:)-27bxn"
---

# init(x:y:width:height:)

## Declaration

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