Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGColorSpaceMBS class.
CGColorSpaceMBS.BaseColorSpace as CGColorSpaceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The base color space if the space parameter is a pattern or indexed color space; otherwise, nil.
Available in Mac OS X v10.5 and later.
(Read only property)
CGColorSpaceMBS.ColorTableCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The number of entries in the color table of the space parameter if the color space is an indexed color space; otherwise, returns 0.
Available in Mac OS X v10.5 and later.
(Read only property)
CGColorSpaceMBS.Description as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 15.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
CGColorSpaceMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(a CGColorSpaceRef)
(Read and Write property)
CGColorSpaceMBS.Model as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in Mac OS X v10.5 and later.
Use this constants:
CGColorSpaceMBS.kCGColorSpaceModelUnknown
CGColorSpaceMBS.kCGColorSpaceModelCMYK
CGColorSpaceMBS.kCGColorSpaceModelDeviceN
CGColorSpaceMBS.kCGColorSpaceModelIndexed
CGColorSpaceMBS.kCGColorSpaceModelLab
CGColorSpaceMBS.kCGColorSpaceModelMonochrome
CGColorSpaceMBS.kCGColorSpaceModelPattern
CGColorSpaceMBS.kCGColorSpaceModelRGB
(Read only property)
CGColorSpaceMBS.ModelText as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 15.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
For viewing in debugger.
(Read only property)
CGColorSpaceMBS.Name as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 13.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Not all CGColorspace objects have names. Some have only ICC Profile and you can get name via Name property in LCMS2ProfileMBS if you open the profile with LCMS.
(Read only property)
CGColorSpaceMBS.NumberOfComponents as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
typical 1 for grayscale, 3 for RGB and 4 for CMYK.
(Read only property)
The items on this page are in the following plugins: MBS MacCG Plugin.