<!--
{
  "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/OffsetShape",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI11OffsetShapeV"
  },
  "title" : "OffsetShape"
}
-->

# OffsetShape

A shape with a translation offset transform applied to it.

```
@frozen struct OffsetShape<Content> where Content : Shape
```

## Topics

### Creating an offset shape

[`init(shape:offset:)`](/documentation/SwiftUI/OffsetShape/init(shape:offset:))

### Getting the shape’s characteristics

[`offset`](/documentation/SwiftUI/OffsetShape/offset)

[`shape`](/documentation/SwiftUI/OffsetShape/shape)

### Supporting types

[`animatableData`](/documentation/SwiftUI/OffsetShape/animatableData)

The data to animate.



---

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)