共用方式為


NSGraphicsContext.FromGraphicsPort 方法

定義

多載

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

參數

graphicsPort
IntPtr

nativeint

initialFlippedState
Boolean

傳回

屬性

適用於

FromGraphicsPort(CGContext, Boolean)

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

參數

context
CGContext
initialFlippedState
Boolean

傳回

適用於