MonobjcMonobjc Documented Class Library
CreateWithMask Method (image, mask)
NamespacesMonobjc.ApplicationServicesCGImageCreateWithMask(IntPtr, IntPtr)

Creates a bitmap image from an existing image and an image mask.

Original signature is 'CGImageRef CGImageCreateWithMask ( CGImageRef image, CGImageRef mask );'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateWithMask(
	IntPtr image,
	IntPtr mask
)
Public Shared Function CreateWithMask ( _
	image As IntPtr, _
	mask As IntPtr _
) As IntPtr
public:
static IntPtr CreateWithMask(
	IntPtr image, 
	IntPtr mask
)
Parameters
image (IntPtr)
MISSING
mask (IntPtr)
MISSING
Return Value
An image created by masking image with mask. 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)