<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/NormalizedRect/init(x:y:width:height:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision14NormalizedRectV1x1y5width6heightAC14CoreFoundation7CGFloatV_A3Jtcfc"
  },
  "title" : "init(x:y:width:height:)"
}
-->

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

Creates a rectangle with the specified coordinates.

```
init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
```

## Parameters

`x`

The x-coordinate of the rectangle’s lower-left corner.

`y`

The y-coordinate of the rectangle’s lower-left corner.

`width`

The width of the rectangle.

`height`

The hight of the rectangle.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)