Package com.banuba.sdk.internal.gl
Class GLScalableRectTexture
- java.lang.Object
-
- com.banuba.sdk.internal.gl.GLScalableRect
-
- com.banuba.sdk.internal.gl.GLScalableRectTexture
-
- All Implemented Interfaces:
Scalable
,java.lang.AutoCloseable
public class GLScalableRectTexture extends GLScalableRect
-
-
Constructor Summary
Constructors Constructor Description GLScalableRectTexture(WatermarkInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
draw(float[] matrix)
void
draw(float[] matrix, float alpha)
int
getHeight()
int
getWidth()
void
setScreenSize(int width, int height)
void
updatePosition(int width, int height)
-
Methods inherited from class com.banuba.sdk.internal.gl.GLScalableRect
getModelViewMatrix, setOffset, setPosition, setRotation, setScale
-
-
-
-
Constructor Detail
-
GLScalableRectTexture
public GLScalableRectTexture(WatermarkInfo info)
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
close
public void close() throws java.lang.Exception
- Throws:
java.lang.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 classGLScalableRect
-
updatePosition
public void updatePosition(int width, int height)
-
-