Declaration

var colorSpace: GSColorSpace { get set }

Declaration

@property (strong) GSColorSpace * colorSpace;

Declaration

colorSpace() -> GSColorSpace
setColorSpace_(colorSpace: GSColorSpace)

Discussion

Note that this color space does not need to match the color space of the color stops themselves.

The default color space is linear sRGB.