---
title: contentShape
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uishape-swift.struct/resolutioncontext/contentshape
---

# contentShape

The resolved shape of the content to which this shape can apply.

## Declaration

```swift
var contentShape: UIShape.Resolved
```

## Discussion

Discussion For example, if this shape applies an effect to a button, the contentShape might represent the bounding shape of that button’s background. You typically size a dynamic shape relative to the bounding rectangle of the contentShape.
