BRIGHT_WHITE

BRIGHT_WHITE(255, 255, 255, TileColor.defaultAlpha())

Functions

clone
Link copied to clipboard
common
protected fun clone(): Any
compareTo
Link copied to clipboard
common
operator override fun compareTo(other: ANSITileColor): Int
darkenByPercent
Link copied to clipboard
common
open override fun darkenByPercent(percentage: Double): TileColor
Returns a new TileColor which is darkened by the given percentage.
desaturate
Link copied to clipboard
common
open fun desaturate(): TileColor
Returns a new TileColor which is desturated by the DEFAULT_FACTOR (.7).
open override fun desaturate(factor: Double): TileColor
Returns a new TileColor which is desaturated by factor.
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
interpolateTo
Link copied to clipboard
common
open override fun interpolateTo(other: TileColor): ColorInterpolator
Creates a new ColorInterpolator with the receiver color as low color and the other color as high color.
invert
Link copied to clipboard
common
open override fun invert(): TileColor
Returns a new TileColor which is the inversion of this one.
lightenByPercent
Link copied to clipboard
common
open override fun lightenByPercent(percentage: Double): TileColor
Returns a new TileColor which is lightened by the given percentage.
shade
Link copied to clipboard
common
open fun shade(): TileColor
Returns a new TileColor which is shaded by the DEFAULT_FACTOR (.7).
open override fun shade(factor: Double): TileColor
Returns a new TileColor which is shaded by factor.
tint
Link copied to clipboard
common
open fun tint(): TileColor
Returns a new TileColor which is tinted by the DEFAULT_FACTOR (.7).
open override fun tint(factor: Double): TileColor
Returns a new TileColor which is tinted by factor.
tone
Link copied to clipboard
common
open fun tone(): TileColor
Returns a new TileColor which is toned by the DEFAULT_FACTOR (.7).
open override fun tone(factor: Double): TileColor
Returns a new TileColor which is toned by factor.
toString
Link copied to clipboard
common
open override fun toString(): String
withAlpha
Link copied to clipboard
common
open override fun withAlpha(alpha: Int): TileColor
Creates a copy of this TileColor with the given alpha.
withBlue
Link copied to clipboard
common
open override fun withBlue(blue: Int): TileColor
Creates a copy of this TileColor with the given blue.
withGreen
Link copied to clipboard
common
open override fun withGreen(green: Int): TileColor
Creates a copy of this TileColor with the given green.
withRed
Link copied to clipboard
common
open override fun withRed(red: Int): TileColor
Creates a copy of this TileColor with the given red.

Properties

alpha
Link copied to clipboard
common
override val alpha: Int
blue
Link copied to clipboard
common
override val blue: Int
cacheKey
Link copied to clipboard
common
open override val cacheKey: String
A unique and immutable cache key for this object.
green
Link copied to clipboard
common
override val green: Int
isOpaque
Link copied to clipboard
common
open val isOpaque: Boolean
name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int
red
Link copied to clipboard
common
override val red: Int