---
title: "init(width:height:)"
framework: corefoundation
role: symbol
role_heading: Initializer
path: "corefoundation/cgsize/init(width:height:)-63ffm"
---

# init(width:height:)

## Declaration

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