---
title: format
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uigraphicsrenderercontext/format
---

# format

The format used to create the associated graphics renderer.

## Declaration

```swift
var format: UIGraphicsRendererFormat { get }
```

## Discussion

Discussion If you specified a format object when you initialized the current renderer (UIGraphicsRenderer) object, then this property provides access to that object. Otherwise, a default format object was created for you using the renderer initialization parameters, tuned to the current device.

## See Also

### Getting the drawing context

- [cgContext](uikit/uigraphicsrenderercontext/cgcontext.md)
