TextRenderer

Parent: Object
Package: luster.display

No short description available
No long description available

Show Inherited Properties
Hide Inherited Properties
Property Defined By
height :
No short description available
TextRenderer
mipmaps :
No short description available
TextRenderer
texture :
No short description available
TextRenderer
width :
No short description available
TextRenderer

Show Inherited Functions
Hide Inherited Functions
Function Defined By
createTexture ( width:, height:, mipmaps: ) : nil
This required call creates the texture which the texture gets rendered into.
TextRenderer
init ( fontName: ) : nil
Constructs a new text renderer with the given font name.
TextRenderer
renderText ( text:, bounds:, color:, justify:, wrap:, letterSpacing:, lineSpacing: ) : nil
No short description available
TextRenderer

Property Details


height

Type:

No short description available
No long description available

mipmaps

Type:

No short description available
No long description available

texture

Type:

No short description available
No long description available

width

Type:

No short description available
No long description available

Function Details


createTexture

This required call creates the texture which the texture gets rendered into.
You can control both the resolution and the mipmapping behavior.

Arguments

Argument Type Description
width
height
mipmaps


init

Constructs a new text renderer with the given font name.
The font must be initialized from a .font definition file.

Arguments

Argument Type Description
fontName


renderText

No short description available
No long description available

Arguments

Argument Type Description
text
bounds
color
justify
wrap
letterSpacing
lineSpacing