Companion

object Companion

Functions

create
Link copied to clipboard
common
fun create(foregroundColor: TileColor, backgroundColor: TileColor, modifiers: Set<Modifier> = setOf()): StyleSet
Creates a new StyleSet.
defaultStyle
Link copied to clipboard
common
fun defaultStyle(): DefaultStyleSet
Shorthand for the default style which is:
  • default foreground color (white)

  • default background color (black)

  • no modifiers

empty
Link copied to clipboard
common
fun empty(): DefaultStyleSet
Shorthand for the empty style which has:
  • transparent foreground

  • and transparent background

  • and no modifiers.

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
newBuilder
Link copied to clipboard
common
fun newBuilder(): StyleSetBuilder
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard