APIdia Launch Partner
Top Classes
module gdx

Package com.badlogic.gdx.utils.viewport


Class Summary

Modifier and TypeClass and Description
public class
ExtendViewport

A viewport that keeps the world aspect ratio by both scaling and extending the world.

public class
FillViewport

A ScalingViewport that uses Scaling#fill so it keeps the aspect ratio by scaling the world up to take the whole screen (some of the world may be off screen).

public class
FitViewport

A ScalingViewport that uses Scaling#fit so it keeps the aspect ratio by scaling the world up to fit the screen, adding black bars (letterboxing) for the remaining space.

public class
ScalingViewport

A viewport that scales the world using Scaling.

public class
ScreenViewport

A viewport where the world size is based on the size of the screen.

public class
StretchViewport

A ScalingViewport that uses Scaling#stretch so it does not keep the aspect ratio, the world is scaled to take the whole screen.

public abstract class
Viewport

Manages a Camera and determines how world coordinates are mapped to and from the screen.