NSImage.HitTestRect(CGRect, CGRect, NSGraphicsContext, NSDictionary, Boolean) Method

Definition

[Foundation.Export("hitTestRect:withImageDestinationRect:context:hints:flipped:")]
public virtual bool HitTestRect (CoreGraphics.CGRect testRectDestSpace, CoreGraphics.CGRect imageRectDestSpace, AppKit.NSGraphicsContext context, Foundation.NSDictionary hints, bool flipped);
abstract member HitTestRect : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSGraphicsContext * Foundation.NSDictionary * bool -> bool
override this.HitTestRect : CoreGraphics.CGRect * CoreGraphics.CGRect * AppKit.NSGraphicsContext * Foundation.NSDictionary * bool -> bool

Parameters

testRectDestSpace
CGRect
imageRectDestSpace
CGRect
hints
NSDictionary
flipped
Boolean

Returns

Boolean
Attributes

Applies to