MonobjcMonobjc Documented Class Library
EqualToColor Method (color1, color2)
NamespacesMonobjc.ApplicationServicesCGColorEqualToColor(IntPtr, IntPtr)

Indicates whether two colors are equal.

Original signature is 'bool CGColorEqualToColor ( CGColorRef color1, CGColorRef color2 );'

Available in Mac OS X version 10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool EqualToColor(
	IntPtr color1,
	IntPtr color2
)
Public Shared Function EqualToColor ( _
	color1 As IntPtr, _
	color2 As IntPtr _
) As Boolean
public:
static bool EqualToColor(
	IntPtr color1, 
	IntPtr color2
)
Parameters
color1 (IntPtr)
MISSING
color2 (IntPtr)
MISSING
Return Value
A Boolean value that, if true, indicates that the specified colors are equal. If the colors are not equal, the value is false.
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)