Platforms to show: All Mac Windows Linux Cross-Platform

NSCellMBS constants

Scaling Modes

Constant Value Description
NSImageScaleAxesIndependently 1 Scale each dimension to exactly fit destination.
This setting does not preserve the aspect ratio of the image.
Available in Mac OS X v10.5 and later.
NSImageScaleNone 2 Do not scale the image.
Available in Mac OS X v10.5 and later.
NSImageScaleProportionallyDown 0 If it is too large for the destination, scale the image down while preserving the aspect ratio.
Available in Mac OS X v10.5 and later.
NSImageScaleProportionallyUpOrDown 3 Scale the image to its maximum possible dimensions while both staying within the destination area and preserving its aspect ratio.
Available in Mac OS X v10.5 and later.

💬 Ask a question or report a problem
The biggest plugin in space...