> For the complete documentation index, see [llms.txt](https://kree.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kree.gitbook.io/documentation/kree-user-interface/text.md).

# Text

This User Interface Component lets you display text on your screen

> Component Author: [Jabo](https://github.com/jabo-bernardo)\
> Release Date: April 13, 2020

{% tabs %}
{% tab title="Usage" %}

```java
new Text(Scene parentScene, String text, Vector2 position, int width); // Height is auto generated
```

{% endtab %}

{% tab title="Methods" %}

```java
showBorder(boolean b); // For Debugging

setColor(); // Sets Text Color

setFont(Font font); // Sets the Text font

setText(String text); // Sets the text

getText(); // Returns String

getTransform(); // Returns Transform Object
```

{% endtab %}
{% endtabs %}
