Namespace ROT.Text
Contains text tokenization and breaking routines
Defined in: <rot.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
ROT.Text.measure(str, maxWidth)
Measure size of a resulting text block
|
| <static> |
ROT.Text.tokenize(str, maxWidth)
Convert string to a series of a formatting commands
|
Method Detail
<static>
ROT.Text.measure(str, maxWidth)
Measure size of a resulting text block
- Parameters:
- str
- maxWidth
<static>
ROT.Text.tokenize(str, maxWidth)
Convert string to a series of a formatting commands
- Parameters:
- str
- maxWidth