MonobjcMonobjc Documented Class Library
ColorWithRedGreenBlue Method (r, g, b)
NamespacesMonobjc.QuartzCoreCIColorColorWithRedGreenBlue(CGFloat, CGFloat, CGFloat)

Creates a color object using the specified RGB color component values

Original signature is '+ (CIColor *)colorWithRed:(CGFloat)r green:(CGFloat)g blue:(CGFloat)b'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIColor ColorWithRedGreenBlue(
	CGFloat r,
	CGFloat g,
	CGFloat b
)
Public Shared Function ColorWithRedGreenBlue ( _
	r As CGFloat, _
	g As CGFloat, _
	b As CGFloat _
) As CIColor
public:
static CIColor^ ColorWithRedGreenBlue(
	CGFloat r, 
	CGFloat g, 
	CGFloat b
)
Parameters
r (CGFloat)
The value of the red component.
g (CGFloat)
The value of the green component.
b (CGFloat)
The value of the blue component.
Return Value
A Core Image color object that represents an RGB color in the color space specified by the Quartz 2D constant kCGColorSpaceGenericRGB.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)