Class GLScalableRect

java.lang.Object
com.banuba.sdk.internal.gl.GLScalableRect
All Implemented Interfaces:
Scalable, AutoCloseable
Direct Known Subclasses:
GLScalableRectTexture

public abstract class GLScalableRect extends Object implements Scalable, AutoCloseable
  • Field Details

    • mDrawMatrix

      protected float[] mDrawMatrix
  • Constructor Details

    • GLScalableRect

      public GLScalableRect()
  • Method Details

    • setScale

      public void setScale(float scaleX, float scaleY)
      Specified by:
      setScale in interface Scalable
    • setPosition

      public void setPosition(float posX, float posY)
      Specified by:
      setPosition in interface Scalable
    • setOffset

      public void setOffset(float offsetX, float offsetY)
      Specified by:
      setOffset in interface Scalable
    • setRotation

      public void setRotation(float angle)
      Specified by:
      setRotation in interface Scalable
    • setScreenSize

      public abstract void setScreenSize(int width, int height)
    • getModelViewMatrix

      protected float[] getModelViewMatrix()