---
title: imageAlignment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrubberimageitemview/imagealignment
---

# imageAlignment

The alignment of the image within the scrubber item.

## Declaration

```swift
var imageAlignment: NSImageAlignment { get set }
```

## Discussion

Discussion The image is scaled proportionally to fit the frame of the item. This property determines how the image is cropped within that frame. For possible values, see NSImageAlignment.
