<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/ImageAnalysisOverlayView/init(frame:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "VisionKit"
    ],
    "preciseIdentifier" : "c:@M@VisionKit@objc(cs)ImageAnalysisOverlayView(im)initWithFrame:"
  },
  "title" : "init(frame:)"
}
-->

# init(frame:)

Creates an overlay view with the specified frame rectangle.

```
@MainActor override dynamic init(frame frameRect: NSRect)
```

## Parameters

`frameRect`

The frame rectangle for view.

---

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)