---
title: compression
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cimodtransition/compression
---

# compression

The amount of stretching applied to the mod hole pattern.

## Declaration

```swift
var compression: Float { get set }
```

## Discussion

Discussion Holes in the center aren’t distorted as much as those at the edge of the image.

## See Also

### Instance Properties

- [angle](coreimage/cimodtransition/angle.md)
- [center](coreimage/cimodtransition/center.md)
- [radius](coreimage/cimodtransition/radius.md)
