<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/GeometryProxy",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI13GeometryProxyV"
  },
  "title" : "GeometryProxy"
}
-->

# GeometryProxy

A proxy for access to the size and coordinate space (for anchor resolution)
of the container view.

```
struct GeometryProxy
```

## Topics

### Accessing geometry characteristics

[`bounds(of:)`](/documentation/SwiftUI/GeometryProxy/bounds(of:))

Returns the given coordinate space’s bounds rectangle, converted to the
local coordinate space.

[`concentricCornerRadii`](/documentation/SwiftUI/GeometryProxy/concentricCornerRadii)

The concentric corner radii for this view’s bounds relative to the
container shape.

[`concentricCornerRadii(in:)`](/documentation/SwiftUI/GeometryProxy/concentricCornerRadii(in:))

Returns the concentric corner radii for the specified frame relative to
the container shape.

[`containerCornerInsets`](/documentation/SwiftUI/GeometryProxy/containerCornerInsets)

Returns the corner insets of the container view. Use this value to
adjust the geometry of a view based on the overlapping corner insets of
the container view. Corner insets may include pieces of system UI as
well as the corner radii for windows and presentations.

[`frame(in:)`](/documentation/SwiftUI/GeometryProxy/frame(in:))

Returns the container view’s bounds rectangle, converted to a defined
coordinate space.

[`size`](/documentation/SwiftUI/GeometryProxy/size)

The size of the container view.

[`safeAreaInsets`](/documentation/SwiftUI/GeometryProxy/safeAreaInsets)

The safe area inset of the container view.

[`subscript(_:)`](/documentation/SwiftUI/GeometryProxy/subscript(_:))

Resolves the value of an anchor to the container view.

[`transform(in:)`](/documentation/SwiftUI/GeometryProxy/transform(in:))

The container view’s 3D transform converted to a defined coordinate
space.



---

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)