MonobjcMonobjc Documented Class Library
DrawLayerInContextMessage Method (layer, ctx)
NamespacesMonobjc.QuartzCoreCALayer..::..CALayerDelegateEventDispatcherDrawLayerInContextMessage(CALayer, IntPtr)

Allows the delegate to override the layer’s drawInContext: implementation.

Original signature is '- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public void DrawLayerInContextMessage(
	CALayer layer,
	IntPtr ctx
)
Public Sub DrawLayerInContextMessage ( _
	layer As CALayer, _
	ctx As IntPtr _
)
public:
void DrawLayerInContextMessage(
	CALayer^ layer, 
	IntPtr ctx
)
Parameters
layer (CALayer)
The layer to draw the content of.
ctx (IntPtr)
The graphics context to draw in to.
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)