Character Tile String Builder
data class CharacterTileStringBuilder(text: String, textWrap: TextWrap, size: Size, modifiers: MutableSet<Modifier>, foregroundColor: TileColor, backgroundColor: TileColor) : Builder<CharacterTileString>
Content copied to clipboard
Creates CharacterTileStrings. Defaults:
text
is mandatory
Constructors
CharacterTileStringBuilder
Link copied to clipboard
fun CharacterTileStringBuilder(text: String = NO_VALUE, textWrap: TextWrap = WRAP, size: Size = Size.unknown(), modifiers: MutableSet<Modifier> = mutableSetOf(), foregroundColor: TileColor = TileColor.defaultForegroundColor(), backgroundColor: TileColor = TileColor.defaultBackgroundColor())
Content copied to clipboard
Types
Functions
build
Link copied to clipboard
copy
Link copied to clipboard
fun copy(text: String = NO_VALUE, textWrap: TextWrap = WRAP, size: Size = Size.unknown(), modifiers: MutableSet<Modifier> = mutableSetOf(), foregroundColor: TileColor = TileColor.defaultForegroundColor(), backgroundColor: TileColor = TileColor.defaultBackgroundColor()): CharacterTileStringBuilder
Content copied to clipboard
createCopy
Link copied to clipboard
withBackgroundColor
Link copied to clipboard
fun withBackgroundColor(backgroundColor: TileColor): CharacterTileStringBuilder
Content copied to clipboard
withForegroundColor
Link copied to clipboard
fun withForegroundColor(foregroundColor: TileColor): CharacterTileStringBuilder
Content copied to clipboard
withModifiers
Link copied to clipboard
withSize
Link copied to clipboard
withStyleSet
Link copied to clipboard
withText
Link copied to clipboard
withTextWrap
Link copied to clipboard
Sources
(source)
Link copied to clipboard