---
title: "init(bounds:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uigraphicsrenderer/init(bounds:)"
---

# init(bounds:)

Creates a new graphics renderer with the specified bounds and a default format.

## Declaration

```swift
convenience init(bounds: CGRect)
```

## Parameters

- `bounds`: The bounds of the Core Graphics context available to the renderer, with values measured in points.

## Return Value

Return Value An initialized graphics renderer.

## Discussion

Discussion Use this initializer to create a graphics renderer that operates on Core Graphics contexts with the specified bounds. This initializer uses the default() static method on UIGraphicsRendererFormat to create the renderer’s format, thereby selecting parameters that are the most appropriate for the current device.

## See Also

### Initializing a graphics renderer

- [init(bounds:format:)](uikit/uigraphicsrenderer/init(bounds:format:).md)
