---
title: bounds
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/bounds
---

# bounds

The bounds rectangle, which describes the view’s location and size in its own coordinate system.

## Declaration

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

## Mentioned in

Implementing a Multi-Touch app

## Discussion

Discussion The default bounds origin is (0,0) and the size is the same as the size of the rectangle in the frame property. Changing the size portion of this rectangle grows or shrinks the view relative to its center point. Changing the size also changes the size of the rectangle in the frame property to match. The coordinates of the bounds rectangle are always specified in points. Changing the bounds rectangle automatically redisplays the view without calling its draw(_:) method. If you want UIKit to call the draw(_:) method, set the contentMode property to UIView.ContentMode.redraw. Changes to this property can be animated.

## See Also

### Configuring the bounds and frame rectangles

- [frame](uikit/uiview/frame.md)
- [center](uikit/uiview/center.md)
- [transform](uikit/uiview/transform.md)
- [transform3D](uikit/uiview/transform3d.md)
- [anchorPoint](uikit/uiview/anchorpoint.md)
