Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSColorSamplerMBS class.

NSColorSamplerMBS.Constructor

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

May raise PlatformNotSupportedException if not available.

NSColorSamplerMBS.Show

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Shows the color sampler.

Begins or attaches to an existing color sampling session which presents UI to the user for selecting a color from their screen. The handler will be called on the main thread when the user completes the session (either by selection, or cancelation). In the event of user-cancellation, the color passed with be nil.

Calls Completed event later.

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


The biggest plugin in space...