<!--
{
  "documentType" : "article",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/graphics-properties",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Graphics Properties"
}
-->

# Graphics Properties

Operations to define the background color, antialiasing, and greeking for a PDF view.

## Topics

### Setting Background Color

[`func takeBackgroundColorFrom(Any)`](/documentation/PDFKit/PDFView/takeBackgroundColorFrom(_:))

Sets the view’s background color to the specified color.

[`var backgroundColor: UIColor`](/documentation/PDFKit/PDFView/backgroundColor)

The view’s background color.

### Antialiasing

[`var shouldAntiAlias: Bool`](/documentation/PDFKit/PDFView/shouldAntiAlias)

A Boolean value indicating whether the view is antialiased.

[`var interpolationQuality: PDFInterpolationQuality`](/documentation/PDFKit/PDFView/interpolationQuality)

The interpolation quality for images drawn into the `PDFView` context.

[`enum PDFInterpolationQuality`](/documentation/PDFKit/PDFInterpolationQuality)

A wrapper for the specified interpolation quality.

### Greeking

[`var greekingThreshold: CGFloat`](/documentation/PDFKit/PDFView/greekingThreshold)

Returns the current greeking threshold for the view.



---

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)