Auto stash before merge of "develop" and "origin/develop"

This commit is contained in:
Matthew Cech
2019-06-17 23:13:30 -07:00
parent 22a3330abb
commit 4d6444f8ad
2 changed files with 49 additions and 14 deletions
+45
View File
@@ -0,0 +1,45 @@
package network;
import com.google.gson.Gson;
// This class is designed to easily query and ask for responses from https://www.thecolorapi.com/.
// Unlike some of the other networking classes, the query is much more wrapped.
@SuppressWarnings("unused")
public class NetworkTheColorAPI
{
private static final Gson jsonParser_ = new Gson();
private class tca_hsv
{
public int h; // 0-255
public int s; // 0-100, %
public int v; // 0-100, %
}
private class tca_hsl
{
public int h; // 0-255
public int s; // 0-100, %
public int l; // 0-100, %
}
private class tca_rgb
{
public int r; // 0-255
public int g; // 0-255
public int b; // 0-255
}
private class tca_hex
{
public String clean; // format xxxxxx, with no #
}
private class tca_obj
{
public tca_hex hex;
public tca_rgb rgb;
public tca_hsl hsl;
public tca_hsv hsv;
}
}