---
title: UITextLayoutDirection
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uitextlayoutdirection
---

# UITextLayoutDirection

The direction of text layout.

## Declaration

```swift
enum UITextLayoutDirection
```

## Overview

Overview Constants of this type are used as arguments in the position(from:in:offset:), position(within:farthestIn:), and characterRange(byExtending:in:) methods.

## Topics

### Constants

- [UITextLayoutDirection.right](uikit/uitextlayoutdirection/right.md)
- [UITextLayoutDirection.left](uikit/uitextlayoutdirection/left.md)
- [UITextLayoutDirection.up](uikit/uitextlayoutdirection/up.md)
- [UITextLayoutDirection.down](uikit/uitextlayoutdirection/down.md)

### Initializers

- [init(rawValue:)](uikit/uitextlayoutdirection/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [UITextDirection](uikit/uitextdirection.md)
- [UITextStorageDirection](uikit/uitextstoragedirection.md)
