Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSImageRepMBS class.

NSImageRepMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The private constructor.

NSImageRepMBS.setSize(width as Double, height as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets the size of the image representation to the specified value.

This method determines the size of the image when it's rendered. It is not necessarily the same as the width and height of the image in pixels as specified by the image data, nor must it be equal to the size set for the NSImage object that wraps this image representation. You must set the image size before you can render it.

The size of an image representation combined with the physical dimensions of the image data determine the resolution of the image.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...