NSImageRep.AsCGImage(CGRect, NSGraphicsContext, NSDictionary) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("CGImageForProposedRect:context:hints:")]
public virtual CoreGraphics.CGImage AsCGImage (ref CoreGraphics.CGRect proposedDestRect, AppKit.NSGraphicsContext context, Foundation.NSDictionary hints);
abstract member AsCGImage : * AppKit.NSGraphicsContext * Foundation.NSDictionary -> CoreGraphics.CGImage
override this.AsCGImage : * AppKit.NSGraphicsContext * Foundation.NSDictionary -> CoreGraphics.CGImage
参数
- proposedDestRect
- CGRect
- context
- NSGraphicsContext
- hints
- NSDictionary
返回
- 属性