Class RatioResolutionStrategy

java.lang.Object
arc.backend.android.surfaceview.RatioResolutionStrategy
All Implemented Interfaces:
ResolutionStrategy

public class RatioResolutionStrategy extends Object implements ResolutionStrategy
This ResolutionStrategy will maintain a given aspect ratio and stretch the GLSurfaceView to the maximum available screen size.
  • Constructor Details

    • RatioResolutionStrategy

      public RatioResolutionStrategy(float ratio)
    • RatioResolutionStrategy

      public RatioResolutionStrategy(float width, float height)
  • Method Details