withSize

abstract fun withSize(size: Size): CharacterTileString

Returns a new CharacterTileString with the given size using the contents of this one. The new CharacterTileString will get truncated if size is smaller than the size of this one.

Sources

(source)
Link copied to clipboard