Class GLScalableRectTexture

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

public class GLScalableRectTexture extends GLScalableRect
  • Constructor Details

    • GLScalableRectTexture

      public GLScalableRectTexture(WatermarkInfo info)
  • Method Details

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • close

      public void close() throws Exception
      Throws:
      Exception
    • draw

      public void draw(float[] matrix)
    • draw

      public void draw(float[] matrix, float alpha)
    • setScreenSize

      public void setScreenSize(int width, int height)
      Specified by:
      setScreenSize in class GLScalableRect
    • updatePosition

      public void updatePosition(int width, int height)