Instance Property

imageAlignment

The alignment of the receiver’s image relative to its frame.

Declaration

var imageAlignment: NSImageAlignment { get set }

Discussion

For a list of possible values, see NSImageAlignment. The default value is NSImageAlignCenter.

See Also

Aligning and Scaling the Image

var imageScaling: NSImageScaling

The scaling mode used to fit the receiver's image into the frame.