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
Back to CGColorMBS class.
CGColorMBS.Black as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGColorMBS.Clear as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGColorMBS.Create(colorspace as CGColorSpaceMBS, components as memoryblock) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This method was called NewCGColorMBS in earlier MBS Plugins.
See also:
CGColorMBS.Create(colorspace as CGColorSpaceMBS, components() as Double) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Supports up to 32 components.
Returns nil on any error.
See also:
CGColorMBS.CreateDeviceCMYK(cyan as Double, magenta as Double, yellow as Double, black as Double, alpha as Double = 1.0) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
cyan: A cyan value (0.0 - 1.0).
magenta: A magenta value (0.0 - 1.0).
yellow: A yellow value (0.0 - 1.0).
black: A black value (0.0 - 1.0).
alpha: An alpha value (0.0 - 1.0).
Returns a color object.
CGColorMBS.CreateDeviceGray(gray as Double, alpha as Double = 1.0) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
gray: A grayscale value (0.0 - 1.0).
alpha: An alpha value (0.0 - 1.0).
Returns a color object.
CGColorMBS.CreateDeviceRGB(red as Double, green as Double, blue as Double, alpha as Double = 1.0) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
red: A red component value (0.0 - 1.0).
green: A green component value (0.0 - 1.0).
blue: A blue component value (0.0 - 1.0).
alpha: An alpha value (0.0 - 1.0).
Returns a new color object.
CGColorMBS.CreateGenericCMYK(cyan as Double, magenta as Double, yellow as Double, black as Double, alpha as Double = 1.0) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
cyan: A cyan value (0.0 - 1.0).
magenta: A magenta value (0.0 - 1.0).
yellow: A yellow value (0.0 - 1.0).
black: A black value (0.0 - 1.0).
alpha: An alpha value (0.0 - 1.0).
Returns a color object.
Available in Mac OS X v10.5 and later.
CGColorMBS.CreateGenericGray(gray as Double, alpha as Double = 1.0) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
gray: A grayscale value (0.0 - 1.0).
alpha: An alpha value (0.0 - 1.0).
Returns a color object.
Available in Mac OS X v10.5 and later.
CGColorMBS.CreateGenericRGB(red as Double, green as Double, blue as Double, alpha as Double = 1.0) as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
red: A red component value (0.0 - 1.0).
green: A green component value (0.0 - 1.0).
blue: A blue component value (0.0 - 1.0).
alpha: An alpha value (0.0 - 1.0).
Returns a new color object.
Available in Mac OS X v10.5 and later.
CGColorMBS.White as CGColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacCG Plugin.