com.badlogic.gdx.backends.android.surfaceview
Interface ResolutionStrategy

All Known Implementing Classes:
FillResolutionStrategy, FixedResolutionStrategy, RatioResolutionStrategy

public interface ResolutionStrategy

Will manipulate the GLSurfaceView. Gravity is always center. The width and height of the View will be determined by the classes implementing ResolutionStrategy.

Author:
christoph widulle

Nested Class Summary
static class ResolutionStrategy.MeasuredDimension
           
 
Method Summary
 ResolutionStrategy.MeasuredDimension calcMeasures(int widthMeasureSpec, int heightMeasureSpec)
           
 

Method Detail

calcMeasures

ResolutionStrategy.MeasuredDimension calcMeasures(int widthMeasureSpec,
                                                  int heightMeasureSpec)


Copyright © 2014. All Rights Reserved.