Table of Contents

Class AppKit.NSGraphicsContext

Namespace
Xui.Runtime.MacOS
Assembly
Xui.Runtime.MacOS.dll
public class AppKit.NSGraphicsContext : ObjC.NSObject, IDisposable
Inheritance
AppKit.NSGraphicsContext
Implements
Inherited Members

Fields

CGContextSel

protected static readonly ObjC.Sel CGContextSel

Field Value

ObjC.Sel

Class

public static readonly ObjC.Class Class

Field Value

ObjC.Class

CurrentContextProp

protected static readonly ObjC.Prop.NInt CurrentContextProp

Field Value

ObjC.Prop.NInt

Properties

CurrentCGContext

public static CoreGraphics.CGContextRef CurrentCGContext { get; }

Property Value

CoreGraphics.CGContextRef

CurrentContext

The underlying implementation is rarely crated by you, going through wrap and unwrap will raise questions about ownership.

Use the short-lived stack based CurrentCGContext instead.

public static AppKit.NSGraphicsContext? CurrentContext { get; set; }

Property Value

AppKit.NSGraphicsContext