編集

次の方法で共有


NSImage.Draw Method

Definition

Overloads

Draw(CGRect)
Draw(NSImageRep, CGRect)
Draw(CGPoint, CGRect, NSCompositingOperation, nfloat)
Draw(CGRect, CGRect, NSCompositingOperation, nfloat)
Draw(CGRect, CGRect, NSCompositingOperation, nfloat, Boolean, NSDictionary)

Draw(CGRect)

[Foundation.Export("drawInRect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Draw (CoreGraphics.CGRect rect);
abstract member Draw : CoreGraphics.CGRect -> unit
override this.Draw : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect
Attributes

Applies to

Draw(NSImageRep, CGRect)

[Foundation.Export("drawRepresentation:inRect:")]
public virtual bool Draw (AppKit.NSImageRep imageRep, CoreGraphics.CGRect rect);
abstract member Draw : AppKit.NSImageRep * CoreGraphics.CGRect -> bool
override this.Draw : AppKit.NSImageRep * CoreGraphics.CGRect -> bool

Parameters

imageRep
NSImageRep
rect
CGRect

Returns

Attributes

Applies to

Draw(CGPoint, CGRect, NSCompositingOperation, nfloat)

[Foundation.Export("drawAtPoint:fromRect:operation:fraction:")]
public virtual void Draw (CoreGraphics.CGPoint point, CoreGraphics.CGRect fromRect, AppKit.NSCompositingOperation op, nfloat delta);
abstract member Draw : CoreGraphics.CGPoint * CoreGraphics.CGRect * AppKit.NSCompositingOperation * nfloat -> unit
override this.Draw : CoreGraphics.CGPoint * CoreGraphics.CGRect * AppKit.NSCompositingOperation * nfloat -> unit

Parameters

point
CGPoint
fromRect
CGRect
delta
nfloat
Attributes

Applies to

Draw(CGRect, CGRect, NSCompositingOperation, nfloat)

[Foundation.Export("drawInRect:fromRect:operation:fraction:")]
public virtual void Draw (CoreGraphics.CGRect rect, CoreGraphics.CGRect fromRect, AppKit.NSCompositingOperation op, nfloat delta);
abstract member Draw : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSCompositingOperation * nfloat -> unit
override this.Draw : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSCompositingOperation * nfloat -> unit

Parameters

rect
CGRect
fromRect
CGRect
delta
nfloat
Attributes

Applies to

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

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

Parameters

dstSpacePortionRect
CGRect
srcSpacePortionRect
CGRect
requestedAlpha
nfloat
respectContextIsFlipped
Boolean
hints
NSDictionary
Attributes

Applies to