<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/MarkupAdornment/Anchor-swift.struct/canvas(location:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit15MarkupAdornmentV6AnchorV6canvas8locationAESo7CGPointV_tFZ"
  },
  "title" : "canvas(location:)"
}
-->

# canvas(location:)

Returns an anchor at the specified location in the paper markup coordinates.

```
static func canvas(location: CGPoint) -> MarkupAdornment.Anchor
```

---

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)