Package com.banuba.sdk.internal.gl
Class GLScalableRect
- java.lang.Object
-
- com.banuba.sdk.internal.gl.GLScalableRect
-
- All Implemented Interfaces:
Scalable
,java.lang.AutoCloseable
- Direct Known Subclasses:
GLScalableRectTexture
public abstract class GLScalableRect extends java.lang.Object implements Scalable, java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]
mDrawMatrix
-
Constructor Summary
Constructors Constructor Description GLScalableRect()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected float[]
getModelViewMatrix()
void
setOffset(float offsetX, float offsetY)
void
setPosition(float posX, float posY)
void
setRotation(float angle)
void
setScale(float scaleX, float scaleY)
abstract void
setScreenSize(int width, int height)
-
-
-
Method Detail
-
setScale
public void setScale(float scaleX, float scaleY)
-
setPosition
public void setPosition(float posX, float posY)
- Specified by:
setPosition
in interfaceScalable
-
setOffset
public void setOffset(float offsetX, float offsetY)
-
setRotation
public void setRotation(float angle)
- Specified by:
setRotation
in interfaceScalable
-
setScreenSize
public abstract void setScreenSize(int width, int height)
-
getModelViewMatrix
protected float[] getModelViewMatrix()
-
-