<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVEdgeWidths/init(left:top:right:bottom:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So12AVEdgeWidthsa4left3top5right6bottomAB14CoreFoundation7CGFloatV_A3Itcfc"
  },
  "title" : "init(left:top:right:bottom:)"
}
-->

# init(left:top:right:bottom:)

Creates an edge widths structure with floating-point values.

```
init(left: CGFloat, top: CGFloat, right: CGFloat, bottom: CGFloat)
```

## Parameters

`left`

The left-edge width.

`top`

The top-edge width.

`right`

The right-edge width.

`bottom`

The bottom-edge width.

---

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)