---
title: magnificationFilter
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/calayer/magnificationfilter
---

# magnificationFilter

The filter used when increasing the size of the content.

## Declaration

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

## Discussion

Discussion The possible values for this property are listed in Scaling Filters. The default value of this property is linear. Figure 1 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 and the circle on the right uses nearest.

## See Also

### Layer filters

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