Skip to content

Instantly share code, notes, and snippets.

String toString(CircleShape circle)
{
StringBuffer buff = new StringBuffer();
Field[] fields = circle.getClass().getDeclaredFields();
for (int i = 0; i < fields.length; i++)
{
//println("Field " + i + " is " + fields[i].getName());
}
// A basic sketch of a class to parse and manage/hold color schemes
// from Adobe's Kuler (or any other list of hex value formatted colors)
// starting with a string of comma-separate hex color values
class Kuler
{
String colors = ""; // Put the sequence of comma-separated Kuler hex values here
String[] colorList;
int[] cList;
int numColors;