MonobjcMonobjc Documented Class Library
GetAlphaInfo Method (image)
NamespacesMonobjc.ApplicationServicesCGImageGetAlphaInfo(IntPtr)

Returns the alpha channel information for a bitmap image.

Original signature is 'CGImageAlphaInfo CGImageGetAlphaInfo ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGImageAlphaInfo GetAlphaInfo(
	IntPtr image
)
Public Shared Function GetAlphaInfo ( _
	image As IntPtr _
) As CGImageAlphaInfo
public:
static CGImageAlphaInfo GetAlphaInfo(
	IntPtr image
)
Parameters
image (IntPtr)
MISSING
Return Value
A CGImageAlphaInfo constant that specifies (1) whether the bitmap contains an alpha channel, (2) where the alpha bits are located in the image data, and (3) whether the alpha value is premultiplied. For possible values, see “Constants.” The function returns kCGImageAlphaNone if the image parameter refers to an image mask.
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)