public class StretchViewport extends ScalingViewport
Viewport
with a fixed size that is stretched to fill the game window. The aspect ratio is not maintained.Constructor and Description |
---|
StretchViewport(float worldWidth,
float worldHeight)
Constructor
|
isPowerOfTwo, onResize, setPowerOfTwo
apply, getHeight, getInvScaleX, getInvScaleY, getScaleX, getScaleY, getWidth, getX, getY, setBounds, toScreenCoordinates, toScreenCoordinates, toWorldCoordinates, toWorldCoordinates, unapply