共用方式為


NSImageRep.DrawInRect 方法

定義

多載

DrawInRect(CGRect)
DrawInRect(CGRect, CGRect, NSCompositingOperation, nfloat, Boolean, NSDictionary)

DrawInRect(CGRect)

[Foundation.Export("drawInRect:")]
public virtual bool DrawInRect (CoreGraphics.CGRect rect);
abstract member DrawInRect : CoreGraphics.CGRect -> bool
override this.DrawInRect : CoreGraphics.CGRect -> bool

參數

rect
CGRect

傳回

屬性

適用於

DrawInRect(CGRect, CGRect, NSCompositingOperation, nfloat, Boolean, NSDictionary)

[Foundation.Export("drawInRect:fromRect:operation:fraction:respectFlipped:hints:")]
public virtual bool DrawInRect (CoreGraphics.CGRect dstSpacePortionRect, CoreGraphics.CGRect srcSpacePortionRect, AppKit.NSCompositingOperation op, nfloat requestedAlpha, bool respectContextIsFlipped, Foundation.NSDictionary hints);
abstract member DrawInRect : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSCompositingOperation * nfloat * bool * Foundation.NSDictionary -> bool
override this.DrawInRect : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSCompositingOperation * nfloat * bool * Foundation.NSDictionary -> bool

參數

dstSpacePortionRect
CGRect
srcSpacePortionRect
CGRect
requestedAlpha
nfloat
respectContextIsFlipped
Boolean
hints
NSDictionary

傳回

屬性

適用於