From 1ecc83489b8fec4c9b2e9e59fa15e42839c45c06 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Sun, 2 Jul 2017 12:58:04 +0900 Subject: [PATCH] forgot to hit Ctrl+S --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ae712df..766707f 100644 --- a/README.md +++ b/README.md @@ -106,12 +106,12 @@ On your code (Java): Color codes are individual unicode characters. While you can somehow make a raw character and paste in on your code, it's certainly not desirable. Fortunately, we're also providing utility functions for the color codes. - GameFontBase.toColorCode(rgba4444: Int) returns String - GameFontBase.toColorCode(r: Int, g: Int, b: Int) returns String - GameFontBase.toColorCode(r: Int, g: Int, b: Int, a: Int) returns String + GameFontBase.toColorCode(rgba4444: Int) -- returns String + GameFontBase.toColorCode(r: Int, g: Int, b: Int) -- returns String + GameFontBase.toColorCode(r: Int, g: Int, b: Int, a: Int) -- returns String ```rgba4444``` takes whole RGBA as input, that is, from 0x0000 to 0xFFFF. Most significant bits represents Red, and least significant bits represents Alpha (which should be fixed as F for the most time) -``r, g, b(, a)``` takes RGB and A separately, in the range of 0..F. Any value exceeding the range **are unchecked and may wreak havoc**, so be careful. +```r, g, b(, a)``` takes RGB and A separately, in the range of 0..F. Any value exceeding the range **are unchecked and may wreak havoc**, so be careful. ## Font metrics