<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrubberImageItemView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrubberImageItemView"
  },
  "title" : "NSScrubberImageItemView"
}
-->

# NSScrubberImageItemView

A concrete view subclass for displaying images in a scrubber items.

```
class NSScrubberImageItemView
```

## Overview

Provide the image you want to display in the scrubber item to the [`image`](/documentation/AppKit/NSScrubberImageItemView/image) property. If you want finer control over the appearance of the image, you can access the underlying image view using the [`imageView`](/documentation/AppKit/NSScrubberImageItemView/imageView) property.

The image is scaled proportionally to fit the view’s frame. Use the [`imageAlignment`](/documentation/AppKit/NSScrubberImageItemView/imageAlignment) property to determine how the scaled image is cropped within that frame.

## Topics

### Providing image content

[`image`](/documentation/AppKit/NSScrubberImageItemView/image)

The image displayed by the scrubber item.

[`imageView`](/documentation/AppKit/NSScrubberImageItemView/imageView)

The image view that the scrubber item uses to display its image.

### Configuring the appearance

[`imageAlignment`](/documentation/AppKit/NSScrubberImageItemView/imageAlignment)

The alignment of the image within the scrubber item.



---

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)