public class JSONUtils
extends Object
public static Color toColor(JSONArray array) throws JSONException
JSONArray
of int
s into a Color
.
Use with SettingsAPI
's file loading methods to read a color
from a file.array
- The JSONArray
to convert to a Color
.
Color
using array
's color values.
JSONException