Freigeben über


NSGraphicsContext.FromGraphicsPort Methode

Definition

Überlädt

FromGraphicsPort(IntPtr, Boolean)
FromGraphicsPort(CGContext, Boolean)

FromGraphicsPort(IntPtr, Boolean)

[Foundation.Export("graphicsContextWithGraphicsPort:flipped:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'FromCGContext' instead.")]
public static AppKit.NSGraphicsContext FromGraphicsPort (IntPtr graphicsPort, bool initialFlippedState);
static member FromGraphicsPort : nativeint * bool -> AppKit.NSGraphicsContext

Parameter

graphicsPort
IntPtr

nativeint

initialFlippedState
Boolean

Gibt zurück

Attribute

Gilt für:

FromGraphicsPort(CGContext, Boolean)

public static AppKit.NSGraphicsContext FromGraphicsPort (CoreGraphics.CGContext context, bool initialFlippedState);
static member FromGraphicsPort : CoreGraphics.CGContext * bool -> AppKit.NSGraphicsContext

Parameter

context
CGContext
initialFlippedState
Boolean

Gibt zurück

Gilt für: