NSColor.FromCGColor(CGColor) Method

Definition

[Foundation.Export("colorWithCGColor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSColor FromCGColor (CoreGraphics.CGColor cgColor);
static member FromCGColor : CoreGraphics.CGColor -> AppKit.NSColor

Parameters

cgColor
CGColor

Returns

NSColor
Attributes

Applies to