---
title: NSImageRep.HintKey
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsimagerep/hintkey
---

# NSImageRep.HintKey

Constants for the keys to include in a hints dictionary when drawing the image.

## Declaration

```swift
struct HintKey
```

## Topics

### Hint Keys

- [ctm](appkit/nsimagerep/hintkey/ctm.md)
- [interpolation](appkit/nsimagerep/hintkey/interpolation.md)
- [userInterfaceLayoutDirection](appkit/nsimagerep/hintkey/userinterfacelayoutdirection.md)

### Initializers

- [init(rawValue:)](appkit/nsimagerep/hintkey/init(rawvalue:).md)

## Relationships

### Conforms To

- [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)
- [NSImage.LayoutDirection](appkit/nsimage/layoutdirection.md)
