---
title: "widthValueType(for:rectEdge:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/nstextblock/widthvaluetype(for:rectedge:)"
---

# widthValueType(for:rectEdge:)

## Declaration

```swift
func widthValueType(for layer: NSTextBlock.Layer, rectEdge: CGRectEdge) -> NSTextBlock.ValueType
```

## See Also

### Setting layer widths

- [setWidth(_:type:for:)](uikit/nstextblock/setwidth(_:type:for:).md)
- [setWidth(_:type:for:rectEdge:)](uikit/nstextblock/setwidth(_:type:for:rectedge:).md)
- [width(for:rectEdge:)](uikit/nstextblock/width(for:rectedge:).md)
