---
title: placement
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phprojectelement/placement
---

# placement

A rectangle defining where an element is placed in grid space coordinates.

## Declaration

```swift
var placement: CGRect { get }
```

## Discussion

Discussion For layout grids with more than one column, the values in the rectangle will always have integer value.  For fixed layouts, rectangle values will be in fractional unit values. If suggested placement could not be determined at the time of project creation, the placement will contain CGRectNull. For example, a rect of (0, 0, 3, 4) represents a placement in the upper-left corner of the layout grid, with 3 grid units of width and 4 grid units of height.

## See Also

### Describing Project Elements

- [weight](photosui/phprojectelement/weight.md)
