---
title: GraphicsContext.FilterOptions
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/graphicscontext/filteroptions
---

# GraphicsContext.FilterOptions

Options that configure a filter that you add to a graphics context.

## Declaration

```swift
@frozen struct FilterOptions
```

## Overview

Overview You can use filter options to configure a GraphicsContext.Filter that you apply to a GraphicsContext with the addFilter(_:options:) method.

## Topics

### Getting filter options

- [linearColor](swiftui/graphicscontext/filteroptions/linearcolor.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Filtering

- [addFilter(_:options:)](swiftui/graphicscontext/addfilter(_:options:).md)
- [GraphicsContext.Filter](swiftui/graphicscontext/filter.md)
- [GraphicsContext.BlurOptions](swiftui/graphicscontext/bluroptions.md)
- [GraphicsContext.ShadowOptions](swiftui/graphicscontext/shadowoptions.md)
