<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/PaperMarkup/draw(in:frame:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit0A6MarkupV4draw2in5frame7optionsySo12CGContextRefa_So6CGRectVAA16RenderingOptionsVtYaF"
  },
  "title" : "draw(in:frame:options:)"
}
-->

# draw(in:frame:options:)

Draws the entire paper contents in the specified rectangle.

```
nonisolated(nonsending) func draw(in context: CGContext, frame: CGRect, options: RenderingOptions = RenderingOptions()) async
```

## Parameters

`context`

The graphics context to render into.

`frame`

The rectangle (in the coordinate system of the graphics context) in which
to draw the paper.

`options`

The rendering options.

## Discussion

To draw a cropped portion of a paper data model, modify the `bounds` of the paper being drawn.

---

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)