Class WindowMoveEventArgs
This event is triggered when a window has its position changed on screen.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public class WindowMoveEventArgs : WindowEventArgs
Constructors
WindowMoveEventArgs(WindowHandle, Vector2i, Vector2i)
Initializes a new instance of the WindowMoveEventArgs class.
Declaration
public WindowMoveEventArgs(WindowHandle window, Vector2i windowPosition, Vector2i clientAreaPosition)
Parameters
Type | Name | Description |
---|---|---|
WindowHandle | window | The window that moved. |
Vector2i | windowPosition | The new window position. |
Vector2i | clientAreaPosition | The new window client area position. |
Properties
ClientAreaPosition
The new client area position in screen coordinates.
Declaration
public Vector2i ClientAreaPosition { get; }
Property Value
Type | Description |
---|---|
Vector2i |
WindowPosition
The new window position in screen coordinates.
Declaration
public Vector2i WindowPosition { get; }
Property Value
Type | Description |
---|---|
Vector2i |