Text

class Text : Image

An object that manages offscreen rendering a text source.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

The bounds rectangle.

Link copied to clipboard
var color: Int

Specifies the text color.

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
var size: Float

Specifies the text size.

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

Specifies the text value.

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 override fun layout(renderer: Renderer)

Layouts the screen object.