Share via


NSImage.HitTestRect Method

Definition

[Foundation.Export("hitTestRect:withImageDestinationRect:context:hints:flipped:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool HitTestRect(CoreGraphics.CGRect testRectDestSpace, CoreGraphics.CGRect imageRectDestSpace, AppKit.NSGraphicsContext context, Foundation.NSDictionary hints, bool flipped);
[<Foundation.Export("hitTestRect:withImageDestinationRect:context:hints:flipped:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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

Attributes

Applies to