---
title: GraphicsContext.ResolvedText
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/graphicscontext/resolvedtext
---

# GraphicsContext.ResolvedText

A text view resolved to a particular environment.

## Declaration

```swift
struct ResolvedText
```

## Overview

Overview You resolve a Text view in preparation for drawing it into a context, either manually by calling resolve(_:) or automatically when calling draw(_:in:) or draw(_:at:anchor:). The resolved text view takes into account environment values like the display resolution and current color scheme.

## Topics

### Getting the text properties

- [firstBaseline(in:)](swiftui/graphicscontext/resolvedtext/firstbaseline(in:).md)
- [lastBaseline(in:)](swiftui/graphicscontext/resolvedtext/lastbaseline(in:).md)
- [measure(in:)](swiftui/graphicscontext/resolvedtext/measure(in:).md)
- [shading](swiftui/graphicscontext/resolvedtext/shading.md)

## See Also

### Resolving a drawn entity

- [resolve(_:)](swiftui/graphicscontext/resolve(_:).md)
- [resolveSymbol(id:)](swiftui/graphicscontext/resolvesymbol(id:).md)
- [GraphicsContext.ResolvedSymbol](swiftui/graphicscontext/resolvedsymbol.md)
- [GraphicsContext.ResolvedImage](swiftui/graphicscontext/resolvedimage.md)
