Character Tile String
A CharacterTileString is an aggregation of CharacterTiles. You can draw a CharacterTileString on a TileGraphics and you can expect it to behave in a way like handwriting would (if a string does not fit in a line it continues in a new line).
Text wrapping is managed by the TextWrap enum.
If a CharacterTileString is too long to fit on a DrawSurface
the parts which would overflow are truncated instead.
If there is no wrapping and the text reaches the end of the line it will also be truncated.
CharacterTileString comes with its own builder and you can create them in a simple way from plain Java Strings.
Functions
getTileAtOrNull
Link copied to clipboard
iterator
Link copied to clipboard
plus
Link copied to clipboard
abstract operator fun plus(other: CharacterTileString): CharacterTileString
Content copied to clipboard
withSize
Link copied to clipboard
Properties
Inheritors
DefaultCharacterTileString
Link copied to clipboard
Sources
(source)
Link copied to clipboard