AppleCGColorSpace - UBogun/Xojo-iosLib GitHub Wiki
Inherits from AppleCFObject
Memory leak check: not yet done
Status: Many features & methods missing
CGColorSpace defines the ColorSpace for CoreGraphics/Quartz objects. It is currently mainly implemented in iOSLib because some methods need to get a ColorSpace as parameter.
Please note that many conversion methods do not apply to iOS because it uses no ColorSync.
##Constructor
Constructor(): Creates a new DeviceRGB colorspace, the only one available on iOS.
##Properties BaseColorSpace As AppleCGColorSpace (read-only): Returns the base color space of a patterned or index colorspace.
ColorSpaceModel As CGColorSpaceModel (read-only): The color space model used, like monochrome, patterned …
ColorTableCount As UInteger (read-only): The number of entries for an indexed colorspace.
Name As Text (read-only): The name of the colorspace.
NumberOfComponents As UInteger (read-only): The number of color components of the colorspace, excluding alpha. RGB returns a value of 3 therefore.