共用方式為


NSGraphicsContext.FromBitmap(NSBitmapImageRep) 方法

定義

[Foundation.Export("graphicsContextWithBitmapImageRep:")]
public static AppKit.NSGraphicsContext FromBitmap (AppKit.NSBitmapImageRep bitmapRep);
static member FromBitmap : AppKit.NSBitmapImageRep -> AppKit.NSGraphicsContext

參數

bitmapRep
NSBitmapImageRep

傳回

屬性

適用於