ScreenObject

abstract class ScreenObject(val target: Int = GLES20.GL_TEXTURE_2D)

The ScreenObject class is the abstract class for all objects that are rendered on the screen.

Inheritors

Constructors

Link copied to clipboard
constructor(target: Int = GLES20.GL_TEXTURE_2D)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The bounds rectangle.

Link copied to clipboard
open var frame: Rect

Specifies the frame rectangle.

Link copied to clipboard

Specifies the alignment position along the horizontal axis.

Link copied to clipboard
open var id: Int
Link copied to clipboard
open var isVisible: Boolean

Specifies the visibility of the object.

Link copied to clipboard

Specifies the default spacing to laying out content in the screen object.

Link copied to clipboard

The mvp matrix.

Link copied to clipboard

The screen object container that contains this screen object

Link copied to clipboard
Link copied to clipboard
val target: Int
Link copied to clipboard

Specifies the alignment position along the vertical axis.

Link copied to clipboard

Specifies the video effect such as a monochrome, a sepia.

Functions

Link copied to clipboard
open fun draw(renderer: Renderer)

Draws the screen object.

Link copied to clipboard
open fun invalidateLayout()

Invalidates the current layout and triggers a layout update.

Link copied to clipboard
open fun layout(renderer: Renderer)

Layouts the screen object.