Enumeration Case

NSView.LayerContentsPlacement.scaleProportionallyToFit

The content is resized to fit the bounds rectangle, preserving the aspect of the content. If the content does not completely fill the bounds rectangle, the content is centered in the partial axis.

Declaration

case scaleProportionallyToFit = 1