Class: LetterTile

algo.render. LetterTile

new LetterTile()

A rectangle with center text and optional text at top right. It is useful for displaying strings for example where you want to display both the character and the index at each location.
Source:

Methods

set(options, _depth)

set is overloaded so we can keep the value element sized correctly and displaying the correct text
Parameters:
Name Type Description
options
_depth
Source: