MonobjcMonobjc Documented Class Library
CreateWithMaskingColors Method (image, decode)
NamespacesMonobjc.ApplicationServicesCGImageCreateWithMaskingColors(IntPtr, CGFloat)

Creates a bitmap image by masking an existing bitmap image with the provided color values.

Original signature is 'CGImageRef CGImageCreateWithMaskingColors ( CGImageRef image, const CGFloat components[] );'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateWithMaskingColors(
	IntPtr image,
	CGFloat decode
)
Public Shared Function CreateWithMaskingColors ( _
	image As IntPtr, _
	decode As CGFloat _
) As IntPtr
public:
static IntPtr CreateWithMaskingColors(
	IntPtr image, 
	CGFloat decode
)
Parameters
image (IntPtr)
MISSING
decode (CGFloat)
MISSING
Return Value
An image created by masking image with the colors specified in the components array. You are responsible for releasing this object by calling CGImageRelease.
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)