編輯

共用方式為


NSImage.AsCGImage(CGRect, NSGraphicsContext, NSDictionary) Method

Definition

[Foundation.Export("CGImageForProposedRect:context:hints:")]
public virtual CoreGraphics.CGImage AsCGImage (ref CoreGraphics.CGRect proposedDestRect, AppKit.NSGraphicsContext referenceContext, Foundation.NSDictionary hints);
abstract member AsCGImage :  * AppKit.NSGraphicsContext * Foundation.NSDictionary -> CoreGraphics.CGImage
override this.AsCGImage :  * AppKit.NSGraphicsContext * Foundation.NSDictionary -> CoreGraphics.CGImage

Parameters

proposedDestRect
CGRect
referenceContext
NSGraphicsContext
hints
NSDictionary

Returns

Attributes

Applies to