darkenByPercent

open override fun darkenByPercent(percentage: Double): TileColor

Returns a new TileColor which is darkened by the given percentage. The number must be between 0 and 1.

Sources

(source)
Link copied to clipboard