Creates a CGGradient object from a color space and the provided color objects and locations.
Original signature is 'CGGradientRef CGGradientCreateWithColors( CGColorSpaceRef space, CFArrayRef colors, const CGFloat locations[] );'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |

A CGGradient object.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)