MonobjcMonobjc Documented Class Library
ColorWithCGColor Method (c)
NamespacesMonobjc.QuartzCoreCIColorColorWithCGColor(IntPtr)

Creates a color object from a Quartz color.

Original signature is '+ (CIColor *)colorWithCGColor:(CGColorRef)c'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIColor ColorWithCGColor(
	IntPtr c
)
Public Shared Function ColorWithCGColor ( _
	c As IntPtr _
) As CIColor
public:
static CIColor^ ColorWithCGColor(
	IntPtr c
)
Parameters
c (IntPtr)
A Quartz color (CGColorRef object) created using a Quartz color creation function such as CGColorCreate.
Return Value
A Core Image color object that represents a Quartz color.
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)