Uses of Class
com.badlogic.gdx.utils.Scaling
-
Packages that use Scaling Package Description com.badlogic.gdx.scenes.scene2d.ui com.badlogic.gdx.utils com.badlogic.gdx.utils.viewport -
-
Uses of Scaling in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Scaling Modifier and Type Method Description voidImage. setScaling(Scaling scaling)Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Scaling Constructor Description Image(Drawable drawable, Scaling scaling)Creates an image aligned center.Image(Drawable drawable, Scaling scaling, int align) -
Uses of Scaling in com.badlogic.gdx.utils
Fields in com.badlogic.gdx.utils declared as Scaling Modifier and Type Field Description static ScalingScaling. containScales the source to fit the target while keeping the same aspect ratio, but the source is not scaled at all if smaller in both directions.static ScalingScaling. fillScales the source to fill the target while keeping the same aspect ratio.static ScalingScaling. fillXScales the source to fill the target in the x direction while keeping the same aspect ratio.static ScalingScaling. fillYScales the source to fill the target in the y direction while keeping the same aspect ratio.static ScalingScaling. fitScales the source to fit the target while keeping the same aspect ratio.static ScalingScaling. noneThe source is not scaled.static ScalingScaling. stretchScales the source to fill the target.static ScalingScaling. stretchXScales the source to fill the target in the x direction, without changing the y direction.static ScalingScaling. stretchYScales the source to fill the target in the y direction, without changing the x direction. -
Uses of Scaling in com.badlogic.gdx.utils.viewport
Methods in com.badlogic.gdx.utils.viewport that return Scaling Modifier and Type Method Description ScalingScalingViewport. getScaling()Methods in com.badlogic.gdx.utils.viewport with parameters of type Scaling Modifier and Type Method Description voidExtendViewport. setScaling(Scaling scaling)voidScalingViewport. setScaling(Scaling scaling)Constructors in com.badlogic.gdx.utils.viewport with parameters of type Scaling Constructor Description ScalingViewport(Scaling scaling, float worldWidth, float worldHeight)Creates a new viewport using a newOrthographicCamera.ScalingViewport(Scaling scaling, float worldWidth, float worldHeight, Camera camera)
-