다음을 통해 공유


CGEvent 생성자

정의

오버로드

CGEvent(CGEventSource)
CGEvent(NSData)
CGEvent(IntPtr)
CGEvent(CGEventSource, CGScrollEventUnit, Int32[])
CGEvent(CGEventSource, UInt16, Boolean)
CGEvent(CGEventSource, CGEventType, CGPoint, CGMouseButton)

CGEvent(CGEventSource)

public CGEvent (CoreGraphics.CGEventSource eventSource);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource -> CoreGraphics.CGEvent

매개 변수

eventSource
CGEventSource

적용 대상

CGEvent(NSData)

public CGEvent (Foundation.NSData source);
new CoreGraphics.CGEvent : Foundation.NSData -> CoreGraphics.CGEvent

매개 변수

source
NSData

적용 대상

CGEvent(IntPtr)

public CGEvent (IntPtr handle);
new CoreGraphics.CGEvent : nativeint -> CoreGraphics.CGEvent

매개 변수

handle
IntPtr

nativeint

적용 대상

CGEvent(CGEventSource, CGScrollEventUnit, Int32[])

public CGEvent (CoreGraphics.CGEventSource source, CoreGraphics.CGScrollEventUnit units, params int[] wheel);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource * CoreGraphics.CGScrollEventUnit * int[] -> CoreGraphics.CGEvent

매개 변수

source
CGEventSource
wheel
Int32[]

적용 대상

CGEvent(CGEventSource, UInt16, Boolean)

public CGEvent (CoreGraphics.CGEventSource source, ushort virtualKey, bool keyDown);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource * uint16 * bool -> CoreGraphics.CGEvent

매개 변수

source
CGEventSource
virtualKey
UInt16
keyDown
Boolean

적용 대상

CGEvent(CGEventSource, CGEventType, CGPoint, CGMouseButton)

public CGEvent (CoreGraphics.CGEventSource source, CoreGraphics.CGEventType mouseType, CoreGraphics.CGPoint mouseCursorPosition, CoreGraphics.CGMouseButton mouseButton);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource * CoreGraphics.CGEventType * CoreGraphics.CGPoint * CoreGraphics.CGMouseButton -> CoreGraphics.CGEvent

매개 변수

source
CGEventSource
mouseType
CGEventType
mouseCursorPosition
CGPoint
mouseButton
CGMouseButton

적용 대상