Table of Contents

Struct ResizeEvent

Namespace
Pie.Windowing.Events
Assembly
Pie.Windowing.dll

Contains information about a window resize event.

public struct ResizeEvent : IWindowEvent
Implements
Inherited Members

Constructors

ResizeEvent(int, int)

Create a new ResizeEvent.

public ResizeEvent(int width, int height)

Parameters

width int

The window's new width, in pixels.

height int

The window's new height, in pixels.

Fields

Height

The window's new height, in pixels.

public readonly int Height

Field Value

int
Contains information about a window resize event.

Width

The window's new width, in pixels.

public readonly int Width

Field Value

int
Contains information about a window resize event.

Properties

EventType

The WindowEventType of this event.

public WindowEventType EventType { get; }

Property Value

WindowEventType
Contains information about a window resize event.