Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Super class: NSCellMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Controls | MBS MacCocoa Plugin | 10.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This class provides methods for choosing the frame and for aligning and scaling the image to fit the frame.
The object value of an NSImageCell object must be an NSImage object, so if you use the setObjectValue: method of NSCell, be sure to supply an NSImage object as an argument. Because an NSImage object does not need to be converted for display, do not use the NSCell methods relating to formatters.
An NSImageCell object is usually associated with some kind of control object—an NSImageView, an NSMatrix, or an NSTableView.
Subclass of the NSCellMBS class.
Constant | Value | Description |
---|---|---|
NSImageAlignBottom | 5 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Align the image with the bottom edge of the cell. |
NSImageAlignBottomLeft | 6 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Align the image with the bottom and left edges of the cell. |
NSImageAlignBottomRight | 7 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Align the image with the bottom and right edges of the cell. |
NSImageAlignCenter | 0 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Center the image in the cell. |
NSImageAlignLeft | 4 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Align the image with the left edge of the cell. |
NSImageAlignRight | 8 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Position the image along the right edge of the cell. |
NSImageAlignTop | 1 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Position the image along the top edge of the cell. |
NSImageAlignTopLeft | 2 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Align the image with the top and left edges of the cell. |
NSImageAlignTopRight | 3 |
One of the constants to specify the location of the image in the frame using the imageAlignment property.
Align the image with the top and right edges of the cell. |
NSImageFrameButton | 4 |
One of the frame constants for the imageFrameStyle property.
A convex bezel that makes the image stand out in relief, like a button |
NSImageFrameGrayBezel | 2 |
One of the frame constants for the imageFrameStyle property.
A gray, concave bezel that makes the image look sunken |
NSImageFrameGroove | 3 |
One of the frame constants for the imageFrameStyle property.
A thin groove that looks etched around the image |
NSImageFrameNone | 0 |
One of the frame constants for the imageFrameStyle property.
An invisible frame |
NSImageFramePhoto | 1 |
One of the frame constants for the imageFrameStyle property.
A thin black outline and a dropped shadow |
Constant | Value | Description |
---|---|---|
NSImageScaleAxesIndependently | 1 |
Scale each dimension to exactly fit destination. This setting does not preserve the aspect ratio of the image. |
NSImageScaleNone | 2 |
Do not scale the image. |
NSImageScaleProportionallyDown | 0 |
If it is too large for the destination, scale the image down while preserving the aspect ratio. |
NSImageScaleProportionallyUpOrDown | 3 |
Scale the image to its maximum possible dimensions while both staying within the destination area and preserving its aspect ratio. |
NSScaleNone | 2 |
Do not scale the image. |
NSScaleProportionally | 0 |
If it is too large for the destination, scale the image down while preserving the aspect ratio. |
NSScaleToFit | 1 |
Scale each dimension to exactly fit destination. This setting does not preserve the aspect ratio of the image. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSHTTPCookieStorageMBS - NSImageMBS