MonoTouch.CoreAnimation.CALayer.DrawInContext Method
Draws the layer on the specified context.

Syntax

[MonoTouch.Foundation.Export("drawInContext:")]
public virtual void DrawInContext (MonoTouch.CoreGraphics.CGContext ctx)

Parameters

ctx
Prepared context to draw into.

Remarks

Developers override this method to provide custom rendering of the contents of their instance of the CALayer. If this method is not overwritten, the CALayer will invoke the CALayerDelegate.DrawLayer(CALayer, MonoTouch.CoreGraphics.CGContext) method to render the contents.

The provided context has been preconfigured for the target surface as well as having a clipping region defined.

Requirements

Namespace: MonoTouch.CoreAnimation
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0