UIKit.UIGraphics.GetCurrentContext Method
Returns the current graphics context

Syntax

public static CoreGraphics.CGContext GetCurrentContext ()

Returns

Remarks

This returns the current graphics context (the context at the top of the stack). This is only valid after you have pushed a new graphics context with one of the methods in this class.

This function can only be invoked from the UI thread.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0