|Modifier and Type||Field and Description|
The new size of the window in pixels.
|Constructor and Description|
Constructs a new window resize event.
|Modifier and Type||Method and Description|
Attempts to cast this event to a
asJoystickButtonEvent, asJoystickEvent, asJoystickMoveEvent, asKeyEvent, asMouseButtonEvent, asMouseEvent, asMouseWheelEvent, asTextEvent
public final Vector2i size
public SizeEvent(int type, int width, int height)
type- the type of the event. This must be a valid ordinal in the
width- the new width of the window in pixels.
height- the new height of the window in pixels.