-
- All Implemented Interfaces:
-
com.badlogic.gdx.backends.android.surfaceview.ResolutionStrategy
public class FixedResolutionStrategy implements ResolutionStrategy
This ResolutionStrategy will place the GLSurfaceView with the given height and width in the center the screen.
-
-
Constructor Summary
Constructors Constructor Description FixedResolutionStrategy(int width, int height)
-
Method Summary
Modifier and Type Method Description ResolutionStrategy.MeasuredDimensioncalcMeasures(int widthMeasureSpec, int heightMeasureSpec)-
-
Method Detail
-
calcMeasures
ResolutionStrategy.MeasuredDimension calcMeasures(int widthMeasureSpec, int heightMeasureSpec)
-
-
-
-