---
title: "draw(in:frame:options:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/papermarkup/draw(in:frame:options:)"
---

# draw(in:frame:options:)

Draws the entire paper contents in the specified rectangle.

## Declaration

```swift
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

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