NSColorMBS class

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

NSColorMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Drawing MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The class for a Cocoa color.
Example
dim c as NSColorMBS = NSColorMBS.blueColor
MsgBox str(c.blueComponent)

System Effect

Constant Value Description
SystemEffectDeepPressed 2 Deep Pressed
SystemEffectDisabled 3 Disabled
SystemEffectNone 0 No
SystemEffectPressed 1 Pressed
SystemEffectRollover 4 Rollover

Color Types

Constant Value Description
TypeCatalog 2 nColor with a catalog name and a color name. These colors can be dynamic and have multiple underlying color values.one
TypeComponentBased 0 Colors which have a color space (specified as NSColorSpace) and appropriate number of CGFloat components.
TypePattern 1 Colors that draw a pattern, specified as an NSImage.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some events using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Videos

Release notes


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


NSColorListMBS   -   NSColorPanelMBS


💬 Ask a question or report a problem