CGEvent 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
- units
- CGScrollEventUnit
- 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