---
title: Text.Layout
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/text/layout
---

# Text.Layout

A value describing the layout and custom attributes of a tree of Text views.

## Declaration

```swift
struct Layout
```

## Topics

### Structures

- [Text.Layout.CharacterIndex](swiftui/text/layout/characterindex.md)
- [Text.Layout.DrawingOptions](swiftui/text/layout/drawingoptions.md)
- [Text.Layout.Line](swiftui/text/layout/line.md)
- [Text.Layout.Run](swiftui/text/layout/run.md)
- [Text.Layout.RunSlice](swiftui/text/layout/runslice.md)
- [Text.Layout.TypographicBounds](swiftui/text/layout/typographicbounds.md)

### Instance Properties

- [isTruncated](swiftui/text/layout/istruncated.md)

## Relationships

### Conforms To

- [BidirectionalCollection](swift/bidirectionalcollection.md)
- [Collection](swift/collection.md)
- [Equatable](swift/equatable.md)
- [RandomAccessCollection](swift/randomaccesscollection.md)
- [Sequence](swift/sequence.md)
