DefaultStackedTile

data class DefaultStackedTile(baseTile: Tile, rest: PersistentList<Tile>) : StackedTile, Tile

Functions

asCharacterTile
Link copied to clipboard
common
open override fun asCharacterTile(): Maybe<CharacterTile>
Returns this Tile as a CharacterTile if possible.
asGraphicTile
Link copied to clipboard
common
open override fun asGraphicTile(): Maybe<GraphicalTile>
Returns this Tile as a GraphicalTile if possible.
asImageTile
Link copied to clipboard
common
open override fun asImageTile(): Maybe<ImageTile>
Returns this Tile as an ImageTile if possible.
component1
Link copied to clipboard
common
operator fun component1(): Tile
copy
Link copied to clipboard
common
fun copy(baseTile: Tile, rest: PersistentList<Tile> = persistentListOf()): DefaultStackedTile
createCopy
Link copied to clipboard
common
open override fun createCopy(): DefaultStackedTile
Creates a deep copy of this object.
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
fetchBorderData
Link copied to clipboard
common
open override fun fetchBorderData(): Set<Border>
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toBuilder
Link copied to clipboard
common
open override fun toBuilder(): TileBuilder
Creates a new TileBuilder preconfigured with the contents of this Tile.
toString
Link copied to clipboard
common
open override fun toString(): String
withAddedModifiers
Link copied to clipboard
common
open override fun withAddedModifiers(vararg modifiers: Modifier): StackedTile
Creates a copy of this StyleSet with the given modifiers added.
open override fun withAddedModifiers(modifiers: Set<Modifier>): StackedTile
Creates a copy of this StyleSet with the given modifiers added.
withBackgroundColor
Link copied to clipboard
common
open override fun withBackgroundColor(backgroundColor: TileColor): StackedTile
Creates a copy of this StyleSet with the given background color.
withBaseTile
Link copied to clipboard
common
open override fun withBaseTile(tile: Tile): StackedTile
Returns a new StackedTile that has its baseTile replaced by the given tile.
withForegroundColor
Link copied to clipboard
common
open override fun withForegroundColor(foregroundColor: TileColor): StackedTile
Creates a copy of this StyleSet with the given foreground color.
withModifiers
Link copied to clipboard
common
open override fun withModifiers(vararg modifiers: Modifier): StackedTile
Creates a copy of this StyleSet with the given modifiers.
open override fun withModifiers(modifiers: Set<Modifier>): StackedTile
Creates a copy of this StyleSet with the given modifiers.
withNoModifiers
Link copied to clipboard
common
open override fun withNoModifiers(): StackedTile
Creates a copy of this StyleSet with no modifiers.
withPushedTile
Link copied to clipboard
common
open override fun withPushedTile(tile: Tile): StackedTile
Returns a new StackedTile that's the copy of this one, with the given tile pushed on top of the stack.
withRemovedModifiers
Link copied to clipboard
common
open override fun withRemovedModifiers(vararg modifiers: Modifier): StackedTile
Creates a copy of this StyleSet with the given modifiers removed.
open override fun withRemovedModifiers(modifiers: Set<Modifier>): StackedTile
Creates a copy of this StyleSet with the given modifiers removed.
withRemovedTile
Link copied to clipboard
common
open override fun withRemovedTile(tile: Tile): StackedTile
Returns a new StackedTile that's the copy of this one, with the given tile removed.
withStyle
Link copied to clipboard
common
open override fun withStyle(style: StyleSet): StackedTile
Returns a copy of this Tile with the specified style.

Properties

backgroundColor
Link copied to clipboard
common
open override val backgroundColor: TileColor
baseTile
Link copied to clipboard
common
open override val baseTile: Tile
The Tile that's the base of this StackedTile.
cacheKey
Link copied to clipboard
common
open override val cacheKey: String
foregroundColor
Link copied to clipboard
common
open override val foregroundColor: TileColor
hasBorder
Link copied to clipboard
common
open override val hasBorder: Boolean
isBlinking
Link copied to clipboard
common
open override val isBlinking: Boolean
isCrossedOut
Link copied to clipboard
common
open override val isCrossedOut: Boolean
isEmpty
Link copied to clipboard
common
open override val isEmpty: Boolean
isHorizontalFlipped
Link copied to clipboard
common
open override val isHorizontalFlipped: Boolean
isNotEmpty
Link copied to clipboard
common
open override val isNotEmpty: Boolean
isOpaque
Link copied to clipboard
common
open override val isOpaque: Boolean
isUnderlined
Link copied to clipboard
common
open override val isUnderlined: Boolean
isVerticalFlipped
Link copied to clipboard
common
open override val isVerticalFlipped: Boolean
modifiers
Link copied to clipboard
common
open override val modifiers: Set<Modifier>
styleSet
Link copied to clipboard
common
open override val styleSet: StyleSet
tiles
Link copied to clipboard
common
open override val tiles: List<Tile>
Contains all the tiles in this StackedTile from top to bottom.
tileType
Link copied to clipboard
common
open override val tileType: TileType
top
Link copied to clipboard
common
open override val top: Tile
The Tile on top of this stack.

Sources

(source)
Link copied to clipboard