<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/PaperMarkupViewController/adornmentFrame(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit0A20MarkupViewControllerC14adornmentFrame3forSo6CGRectVSg10Foundation4UUIDV_tF"
  },
  "title" : "adornmentFrame(for:)"
}
-->

# adornmentFrame(for:)

Returns the current frame of the specified adornment.

```
@MainActor @preconcurrency func adornmentFrame(for id: UUID) -> CGRect?
```

## Parameters

`id`

The ID of the `MarkupAdornment` whose frame you want to retrieve.

## Return Value

The frame of the adornment in the coordinate system of this view controller’s view,
or `nil` if the canvas does not display the adornment or cannot determine its frame.

## Discussion

This method calculates the visual frame of an adornment based on its anchor position,
image size, attachment point, zoom scale and content offset.

---

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)