public class ColorStrings extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
createAlignedArgbString(int argb)
Create a simple string containing the decimal representations of
the alpha, red, green, and blue components of the given ARGB color,
aligned to 3 characters, separated by slashes
/ |
static String |
createAlignedRgbString(int argb)
Create a simple string containing the decimal representations of
the red, green, and blue components of the given ARGB color,
aligned to 3 characters, separated by slashes
/ |
static String |
createArgbString(int argb,
String format,
String separator)
Create a string containing the decimal representations of the
alpha, red, green, and blue components of the given ARGB color,
with the given format and separator
|
static String |
createRgbString(int argb,
String format,
String separator)
Create a string containing the decimal representations of the
red, green, and blue components of the given ARGB color,
with the given format and separator
|
static String |
createSimpleArgbString(int argb)
Create a simple string containing the decimal representations of
the alpha, red, green, and blue components of the given ARGB color,
separated by slashes
/ |
public static String createSimpleArgbString(int argb)
/argb - The ARGB colorpublic static String createAlignedRgbString(int argb)
/argb - The ARGB colorpublic static String createAlignedArgbString(int argb)
/argb - The ARGB colorpublic static String createRgbString(int argb, String format, String separator)
argb - The ARGB colorformat - The formatseparator - The separatorpublic static String createArgbString(int argb, String format, String separator)
argb - The ARGB colorformat - The formatseparator - The separatorCopyright © 2018. All rights reserved.