MonobjcMonobjc Documented Class Library
CALayer..::..DrawLayerInContextEventHandler Delegate
NamespacesMonobjc.QuartzCoreCALayerCALayer..::..DrawLayerInContextEventHandler

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 delegate void DrawLayerInContextEventHandler(
	CALayer layer,
	IntPtr ctx
)
Public Delegate Sub DrawLayerInContextEventHandler ( _
	layer As CALayer, _
	ctx As IntPtr _
)
public delegate void DrawLayerInContextEventHandler(
	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)