---
title: "projectionTransform(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/graphicscontext/filter/projectiontransform(_:)"
---

# projectionTransform(_:)

Returns a filter that transforms the rasterized form of subsequent graphics primitives.

## Declaration

```swift
static func projectionTransform(_ matrix: ProjectionTransform) -> GraphicsContext.Filter
```

## Parameters

- `matrix`: A projection transform to apply to the rasterized form of graphics primitives.

## Return Value

Return Value A filter that applies a transform.
