Example usage for com.badlogic.gdx.utils.viewport ScalingViewport subclass-usage

List of usage examples for com.badlogic.gdx.utils.viewport ScalingViewport subclass-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.utils.viewport ScalingViewport subclass-usage.

Usage

From source file squidpony.squidgrid.gui.gdx.ShrinkPartViewport.java

/** A viewport that scales the world using {@link Scaling#stretch} on a sub-region of the screen.
 * Does not keep the aspect ratio, the world is scaled to take up the requested region of the screen.
 * @author Daniel Holderbaum
 * @author Nathan Sweet
 * Created by Tommy Ettinger on 4/16/2016.
 */