|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Cocoa Drawing||MBS MacBase Plugin||8.6||Yes||No||No||Yes, macOS only||No|
Notes: You can make custom color spaces from ColorSync profiles or from ICC profiles. NSColorSpace also has factory methods that return objects representing the system color spaces.
- 7 properties
- 6 methods
- 15 shared methods
- shared method adobeRGB1998ColorSpace as NSColorSpaceMBS
- shared method availableColorSpacesWithModel(Model as Integer) as NSColorSpaceMBS()
- shared method colorSpaceForColorSpaceName(name as string) as NSColorSpaceMBS
- shared method ColorSpaceWithCGColorSpace(CGColorSpaceHandle as Integer) as NSColorSpaceMBS
- shared method ColorSpaceWithColorSyncProfile(ColorSyncProfileHandle as Integer) as NSColorSpaceMBS
- shared method ColorSpaceWithICCProfileData(File as Folderitem) as NSColorSpaceMBS
- shared method ColorSpaceWithICCProfileData(ICCProfileData as Memoryblock) as NSColorSpaceMBS
- shared method deviceCMYKColorSpace as NSColorSpaceMBS
- shared method deviceGrayColorSpace as NSColorSpaceMBS
- shared method deviceRGBColorSpace as NSColorSpaceMBS
- shared method genericCMYKColorSpace as NSColorSpaceMBS
- shared method genericGamma22GrayColorSpace as NSColorSpaceMBS
- shared method genericGrayColorSpace as NSColorSpaceMBS
- shared method genericRGBColorSpace as NSColorSpaceMBS
- shared method sRGBColorSpace as NSColorSpaceMBS
- 18 constants
- const NSCalibratedBlackColorSpace = "NSCalibratedBlackColorSpace"
- const NSCalibratedRGBColorSpace = "NSCalibratedRGBColorSpace"
- const NSCalibratedWhiteColorSpace = "NSCalibratedWhiteColorSpace"
- const NSCMYKColorSpaceModel=2
- const NSCustomColorSpace = "NSCustomColorSpace"
- const NSDeviceBlackColorSpace = "NSDeviceBlackColorSpace"
- const NSDeviceCMYKColorSpace = "NSDeviceCMYKColorSpace"
- const NSDeviceNColorSpaceModel=4
- const NSDeviceRGBColorSpace = "NSDeviceRGBColorSpace"
- const NSDeviceWhiteColorSpace = "NSDeviceWhiteColorSpace"
- const NSGrayColorSpaceModel=0
- const NSIndexedColorSpaceModel=5
- const NSLABColorSpaceModel=3
- const NSNamedColorSpace = "NSNamedColorSpace"
- const NSPatternColorSpace = "NSPatternColorSpace"
- const NSPatternColorSpaceModel=6
- const NSRGBColorSpaceModel=1
- const NSUnknownColorSpaceModel=-1
This class has no sub classes.
Some methods using this class:
- NSBitmapImageRepMBS.bitmapImageRepByConvertingToColorSpace(colorSpace as NSColorSpaceMBS, renderingIntent as Integer) as NSBitmapImageRepMBS
- NSBitmapImageRepMBS.bitmapImageRepByRetaggingWithColorSpace(newSpace as NSColorSpaceMBS) as NSBitmapImageRepMBS
- NSColorMBS.colorSpace as NSColorSpaceMBS
- NSColorMBS.colorUsingColorSpace(colorSpace as NSColorSpaceMBS) as NSColorMBS
- NSColorMBS.colorWithColorSpace(ColorSpace as NSColorSpaceMBS, components() as Double) as NSColorMBS
- NSColorMBS.colorWithColorSpace(ColorSpace as NSColorSpaceMBS, paramarray components as Double) as NSColorMBS
- NSColorMBS.colorWithColorSpaceHSV(ColorSpace as NSColorSpaceMBS, hue as Double, saturation as Double, brightness as Double, alpha as Double=1.0) as NSColorMBS
Some properties using for this class:
Some examples which use this class:
- /DynaPDF/Raster/RenderPageToImage with color management
- /DynaPDF/Raster/RenderPDFFile Test with Color Management
- /Images/JPEG/JPEG with LCMS/JPEG with LCMS
- /Images/LCMS2/Drawing on Mac with Colorspaces/Drawing on Mac with Colorspaces
- /Images/LCMS2/Query Display Profile
- /MacCG/Mac ColorSpace tests
- /MacCocoa/NSColor and Colorspaces
- /MacCocoa/Window Colorspace
- /MacControls/Draw full red on screen
- MonkeyBread Software Releases the MBS Xojo Plugins in version 19.1
- MBS Xojo Plugins, version 19.1pr2
- MBS Xojo Plugins, version 18.5pr3
- MBS Xojo / Real Studio plug-ins in version 13.4
- MBS Xojo / Real Studio Plugins, version 13.4pr3
- Plugin merge/split
The items on this page are in the following plugins: MBS MacBase Plugin.
MBS Xojo blog