<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSImageRep/HintKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSImageHintKey"
  },
  "title" : "NSImageRep.HintKey"
}
-->

# NSImageRep.HintKey

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

```
struct HintKey
```

## Topics

### Hint Keys

[`static let ctm: NSImageRep.HintKey`](/documentation/AppKit/NSImageRep/HintKey/ctm)

A context transform hint.

[`static let interpolation: NSImageRep.HintKey`](/documentation/AppKit/NSImageRep/HintKey/interpolation)

An interpolation hint.

[`static let userInterfaceLayoutDirection: NSImageRep.HintKey`](/documentation/AppKit/NSImageRep/HintKey/userInterfaceLayoutDirection)

A layout direction hint.

### Initializers

[`init(rawValue: String)`](/documentation/AppKit/NSImageRep/HintKey/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)