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

# bounds

The layer’s bounds rectangle. Animatable.

## Declaration

```swift
var bounds: CGRect { get set }
```

## Discussion

Discussion The bounds rectangle is the origin and size of the layer in its own coordinate space. When you create a new standalone layer, the default value for this property is an empty rectangle, which you must change before using the layer. The values of each coordinate in the rectangle are measured in points. For more information about the relationship between the frame, bounds, anchorPoint and position properties, see Core Animation Programming Guide.

## See Also

### Modifying the layer geometry

- [frame](quartzcore/calayer/frame.md)
- [position](quartzcore/calayer/position.md)
- [zPosition](quartzcore/calayer/zposition.md)
- [anchorPointZ](quartzcore/calayer/anchorpointz.md)
- [anchorPoint](quartzcore/calayer/anchorpoint.md)
- [contentsScale](quartzcore/calayer/contentsscale.md)
