編輯

共用方式為


NSGraphicsContext.FromCGContext(CGContext, Boolean) Method

Definition

[Foundation.Export("graphicsContextWithCGContext:flipped:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSGraphicsContext FromCGContext (CoreGraphics.CGContext graphicsPort, bool initialFlippedState);
static member FromCGContext : CoreGraphics.CGContext * bool -> AppKit.NSGraphicsContext

Parameters

graphicsPort
CGContext
initialFlippedState
Boolean

Returns

Attributes

Applies to