Skip to content

Class UiViewport

Definition

Namespace: StardewUI
Assembly: StardewUI.dll

Utilities relating to the game's UI viewport.

public static class UiViewport

Inheritance
Object ⇦ UiViewport

Members

Methods

Name Description
GetMaxSize() Gets the maximum size for the entire viewport.

Details

Methods

GetMaxSize()

Gets the maximum size for the entire viewport.

public static Microsoft.Xna.Framework.Point GetMaxSize();
Returns

Point

The game's uiViewport, constrained to the viewport of the current GraphicsDevice.