mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-14 06:56:06 +09:00
wall of demo texts; release candidate 1
This commit is contained in:
@@ -790,7 +790,7 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
||||
else throw IllegalArgumentException("Font scale cannot be zero or negative (input: $value)")
|
||||
}
|
||||
|
||||
fun toColorCode(rgba4444: Int): String = GameFontBase.toColorCode(rgba4444)
|
||||
fun toColorCode(argb4444: Int): String = GameFontBase.toColorCode(argb4444)
|
||||
fun toColorCode(r: Int, g: Int, b: Int, a: Int = 0x0F): String = GameFontBase.toColorCode(r, g, b, a)
|
||||
val noColorCode = toColorCode(0x0000)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user