colorSpace()
Returns the color space used by the rendering context.
Declaration
func colorSpace() -> Unmanaged<CGColorSpace>!Return Value
An RGB color space; NULL if the custom patch execution mode is not consumer.
Discussion
If the method returns a color space, it must be an RGB color space.