Lysa.ui  0.0
Lysa 3D Engine
Text Class Referenceabstract

Detailed Description

A single-line read-only text label.

Inherits from: Widget

Lua full name: lysa.ui.Text

Public Member Functions

number, get_size ()
 number Returns the rendered pixel size of the text as (width, height). More...
 

Properties

string text
 The string displayed by this label.
 
lysa.float4 text_color
 RGBA color of the displayed text.
 

Member Function Documentation

number, get_size ( )

number Returns the rendered pixel size of the text as (width, height).

Returns
number,

Property Documentation

string text

The string displayed by this label.

lysa.float4 text_color

RGBA color of the displayed text.