Show / Hide Table of Contents

Class WindowResizeEventArgs

This event is triggered when a window has its size changed on screen.

Inheritance
object
EventArgs
WindowEventArgs
WindowResizeEventArgs
Inherited Members
WindowEventArgs.Window
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class WindowResizeEventArgs : WindowEventArgs

Constructors

WindowResizeEventArgs(WindowHandle, Vector2i, Vector2i)

Initializes a new instance of the WindowResizeEventArgs class.

Declaration
public WindowResizeEventArgs(WindowHandle window, Vector2i newSize, Vector2i newClientSize)
Parameters
Type Name Description
WindowHandle window

The window that got resized.

Vector2i newSize

The new window size.

Vector2i newClientSize

The new client size of the window.

Properties

NewClientSize

The new client size of the window.

Declaration
public Vector2i NewClientSize { get; }
Property Value
Type Description
Vector2i

NewSize

The new size of the window.

Declaration
public Vector2i NewSize { get; }
Property Value
Type Description
Vector2i
In this article
Back to top Generated by DocFX