Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGScreenUpdateMoveEventMBS class.
CGScreenUpdateMoveEventMBS.ScreenMove(deltaX as Integer, deltaY as Integer, rectCount as Integer, rects() as CGRectMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | CoreGraphics | MBS MacCG Plugin | 16.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
When an area of the display is moved, your callback function will be invoked with a count of the number of rectangles in the moved area, and a list of the moved rectangles. The rectangles are in global coordinates, and describe the area prior to the move operation.
A single rectangle may occupy multiple displays, either by overlapping the displays or by residing on coincident displays when mirroring is active. Use CGDisplayMBS.GetDisplaysWithRect to determine the displays a rectangle occupies.
DeltaX/DeltaY: The distance a region on the screen moves in pixel units.
The fields deltaX and deltaY describe the direction of movement. Positive values of deltaX indicate movement to the right; negative values indicate movement to the left. Positive values of deltaY indicate movement downward; negative values indicate movement upward.
The items on this page are in the following plugins: MBS MacCG Plugin.