NSEvent.MouseEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSEvent MouseEvent(AppKit.NSEventType type, CoreGraphics.CGPoint location, AppKit.NSEventModifierMask flags, double time, IntPtr wNum, AppKit.NSGraphicsContext? context, IntPtr eNum, IntPtr cNum, float pressure);
[<Foundation.Export("mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member MouseEvent : AppKit.NSEventType * CoreGraphics.CGPoint * AppKit.NSEventModifierMask * double * nativeint * AppKit.NSGraphicsContext * nativeint * nativeint * single -> AppKit.NSEvent
Parameters
- type
- NSEventType
- location
- CGPoint
- flags
- NSEventModifierMask
- time
- Double
- wNum
-
IntPtr
nativeint
- context
- NSGraphicsContext
- eNum
-
IntPtr
nativeint
- cNum
-
IntPtr
nativeint
- pressure
- Single
Returns
- Attributes