BitmapFontCache class uses this class to retrieve colors and the user can define his own colors.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Color | |
| public static ObjectMap | |
| public static Color | |
| public static void |
| map | back to summary |
|---|---|
| private static final ObjectMap<String, Color> map | |
| Colors | back to summary |
|---|---|
| private Colors() | |
| get | back to summary |
|---|---|
| public static Color get(String name) Convenience method to lookup a color by | |
| getColors | back to summary |
|---|---|
| public static ObjectMap Returns the color map. | |
| put | back to summary |
|---|---|
| public static Color put(String name, Color color) Convenience method to add a | |
| reset | back to summary |
|---|---|
| public static void reset() Resets the color map to the predefined colors. | |