CGContext(IntPtr) Constructor

Definition

Creates a CGContext from an unmanaged CGContextRef handle.

public CGContext (IntPtr handle);
new CoreGraphics.CGContext : nativeint -> CoreGraphics.CGContext

Parameters

handle
IntPtr

nativeint

Handle to an unmanaged CGContextRef.

Remarks

Calling this constructor will retain the underlying CGContextRef object.

Applies to