---
title: resize
framework: quartzcore
role: symbol
role_heading: Type Property
path: quartzcore/calayercontentsgravity/resize
---

# resize

The content is resized to fit the entire bounds rectangle.

## Declaration

```swift
static let resize: CALayerContentsGravity
```

## See Also

### Constants

- [center](quartzcore/calayercontentsgravity/center.md)
- [top](quartzcore/calayercontentsgravity/top.md)
- [bottom](quartzcore/calayercontentsgravity/bottom.md)
- [left](quartzcore/calayercontentsgravity/left.md)
- [right](quartzcore/calayercontentsgravity/right.md)
- [topLeft](quartzcore/calayercontentsgravity/topleft.md)
- [topRight](quartzcore/calayercontentsgravity/topright.md)
- [bottomLeft](quartzcore/calayercontentsgravity/bottomleft.md)
- [bottomRight](quartzcore/calayercontentsgravity/bottomright.md)
- [resizeAspect](quartzcore/calayercontentsgravity/resizeaspect.md)
- [resizeAspectFill](quartzcore/calayercontentsgravity/resizeaspectfill.md)
