---
title: NSImage.LayoutDirection
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsimage/layoutdirection
---

# NSImage.LayoutDirection

Constants that describe the layout direction for the image.

## Declaration

```swift
enum LayoutDirection
```

## Topics

### Layout Directions

- [NSImage.LayoutDirection.unspecified](appkit/nsimage/layoutdirection/unspecified.md)
- [NSImage.LayoutDirection.leftToRight](appkit/nsimage/layoutdirection/lefttoright.md)
- [NSImage.LayoutDirection.rightToLeft](appkit/nsimage/layoutdirection/righttoleft.md)

### Initializers

- [init(rawValue:)](appkit/nsimage/layoutdirection/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

### Working with Representations of Images

- [addRepresentation(_:)](appkit/nsimage/addrepresentation(_:).md)
- [addRepresentations(_:)](appkit/nsimage/addrepresentations(_:).md)
- [representations](appkit/nsimage/representations.md)
- [removeRepresentation(_:)](appkit/nsimage/removerepresentation(_:).md)
- [bestRepresentation(for:context:hints:)](appkit/nsimage/bestrepresentation(for:context:hints:).md)
- [NSImageRep.HintKey](appkit/nsimagerep/hintkey.md)
