---
title: metrics
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uifont/textstyle/metrics
---

# metrics

The corresponding font metrics object for the text style.

## Declaration

```swift
var metrics: UIFontMetrics { get }
```
