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

C# | Visual Basic | Visual C++ |
public static IntPtr CreateWithColorComponents( IntPtr space, IntPtr components, IntPtr locations, NSUInteger count )
Public Shared Function CreateWithColorComponents ( _ space As IntPtr, _ components As IntPtr, _ locations As IntPtr, _ count As NSUInteger _ ) As IntPtr
public: static IntPtr CreateWithColorComponents( IntPtr space, IntPtr components, IntPtr locations, NSUInteger count )


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)