MonobjcMonobjc Documented Class Library
InitWithSizeDepthSeparateAlpha Method (size, depth, flag, alpha)
NamespacesMonobjc.AppKitNSCachedImageRepInitWithSizeDepthSeparateAlpha(NSSize, Int32, Boolean, Boolean)

Returns an NSCachedImageRep object initialized with the specified image characteristics. (Deprecated in Mac OS X v10.6.)

Original signature is '- (id)initWithSize:(NSSize)size depth:(NSWindowDepth)depth separate:(BOOL)flag alpha:(BOOL)alpha'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6.")]
public virtual Id InitWithSizeDepthSeparateAlpha(
	NSSize size,
	int depth,
	bool flag,
	bool alpha
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.6.")> _
Public Overridable Function InitWithSizeDepthSeparateAlpha ( _
	size As NSSize, _
	depth As Integer, _
	flag As Boolean, _
	alpha As Boolean _
) As Id
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6.")]
public:
virtual Id^ InitWithSizeDepthSeparateAlpha(
	NSSize size, 
	int depth, 
	bool flag, 
	bool alpha
)
Parameters
size (NSSize)
The size of the image, measured in points.
depth (Int32)
The bit depth of the image. Specify 0 if you want the image to be the same depth as the deepest screen on the current system.
flag (Boolean)
YES if the receiver should use a separate offscreen window to store the image; otherwise, NO if the receiver should use a shared window.
alpha (Boolean)
YES if the image includes transparency information; otherwise, NO.
Return Value
The initialized NSCachedImageRep object or nil if the object could not be initialized.
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)