class SuperText { // creates a class named SuperText String aText; // creates a property named aText that holds a String color textColor; // creates a property named textColor that holds a color int posX; int posY; int posZ; int rotX; int rotY; int rotZ; SuperText(String t, color c, int xx, int yy, int zz, int rx, int ry, int rz) { aText = t; textColor = c; posX = xx; posY = yy; posZ = zz; rotX = -rx; rotY = -ry; rotZ = -rz; } void display() { // creates a method named display that returns no value fill(textColor); // set the fill color to equal whatever value is stored in the textColor property pushMatrix(); translate(posX, posY, posZ); rotateX((float)rotX * PI / 180); rotateY((float)rotY * PI / 180); rotateZ((float)rotZ * PI / 180); text(aText, 0, 0, 0); // print the string held in the aText property at the position indicated by the x and y properties popMatrix(); } }