---
title: magnificationFilter
framework: Core Animation
role: symbol
role_heading: Instance Property
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 13.1+, macOS 10.5+, tvOS 9.0+, visionOS 1.0+]
path: quartzcore/calayer/1410907-magnificationfilter
---

# magnificationFilter

The filter used when increasing the size of the content.

## Declaration

```swift
var magnificationFilter: CALayerContentsFilter { get set }
```

## Discussion

The possible values for this property are listed in [Scaling Filters](../scaling-filters.md).

The default value of this property is [linear](../calayercontentsfilter/linear.md).

[Figure 1](1410907-magnificationfilter.md) shows the difference between linear and nearest filtering when a 10 x 10 point image of a circle is magnified by a scale of 10.

![]()

The circle on the left uses [linear](../calayercontentsfilter/linear.md) and the circle on the right uses [nearest](../calayercontentsfilter/nearest.md).

## See Also

### Layer filters

- [filters](filters.md)
- [compositingFilter](compositingfilter.md)
- [backgroundFilters](backgroundfilters.md)
- [minificationFilter](minificationfilter.md)
- [minificationFilterBias](minificationfilterbias.md)
