Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: ChildViewComponent
Wraps FXGL's TextViewComponent (com.almasb.fxgl.dsl.components.view.TextViewComponent), a ChildViewComponent that displays a static Text label at the configured (x, y) offset from the entity origin.
TextViewComponent (double X = 0.0, double Y = 0.0, string Message = "")
Creates a new TextViewComponent.
X is the X offset from the entity origin.Y is the Y offset from the entity origin.Message is the text to display.adopt (object Ajo)
Wraps an existing TextViewComponent AussomJavaObject.
getMessage ()
Returns the message string.
getText ()
Returns the underlying javafx.scene.text.Text AJO.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.