MonobjcMonobjc Documented Class Library
CreateCopy Method (color)
NamespacesMonobjc.ApplicationServicesCGColorCreateCopy(IntPtr)

Creates a copy of an existing Quartz color.

Original signature is 'CGColorRef CGColorCreateCopy ( CGColorRef color );'

Available in Mac OS X version 10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateCopy(
	IntPtr color
)
Public Shared Function CreateCopy ( _
	color As IntPtr _
) As IntPtr
public:
static IntPtr CreateCopy(
	IntPtr color
)
Parameters
color (IntPtr)
MISSING
Return Value
A copy of the specified color. You are responsible for releasing this object using CGColorRelease.
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)