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

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

## Declaration

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