<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIResolvedShape",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIResolvedShape"
  },
  "title" : "UIResolvedShape"
}
-->

# UIResolvedShape

A shape that has completely resolved based on a context.

```
@interface UIResolvedShape : NSObject
```

## Topics

### Creating a resolved shape by applying insets

[`- (UIResolvedShape *) shapeByApplyingInsets:(UIEdgeInsets) insets;`](/documentation/UIKit/UIResolvedShape/shapeByApplyingInsets:)

Creates a new modified shape by applying the provided insets to this shape.

[`- (UIResolvedShape *) shapeByApplyingInset:(CGFloat) inset;`](/documentation/UIKit/UIResolvedShape/shapeByApplyingInset:)

Creates a new modified shape by applying the provided inset to this shape.

### Accessing the resolved shape’s attributes

[`@property (nonatomic, readonly) UIShape * shape;`](/documentation/UIKit/UIResolvedShape/shape)

The abstract shape that produces this resolved shape.

[`@property (nonatomic, readonly) CGRect boundingRect;`](/documentation/UIKit/UIResolvedShape/boundingRect)

The bounding rectangle that frames the shape.

[`@property (nonatomic, readonly) UIBezierPath * path;`](/documentation/UIKit/UIResolvedShape/path)

The Bézier path representing this shape.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

---

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)