example.payment.jbricks
Class ThreeDColor
java.lang.Object
example.payment.jbricks.ThreeDColor
public class ThreeDColor
- extends java.lang.Object
This class provides support for pseudo-3D coloring.
Each of the defined colors can used as a base color,
and the brighter() and darker() methods can be used
to retrieve the appropriately highlighted or shadowed
version of that color. The getRGB() method is used to
retrieve the actual RGB value of the color, the returned
value can be passed to Graphics.setColor().
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lightGray
public static ThreeDColor lightGray
lightPurple
public static ThreeDColor lightPurple
black
public static ThreeDColor black
gray
public static ThreeDColor gray
blue
public static ThreeDColor blue
red
public static ThreeDColor red
yellow
public static ThreeDColor yellow
white
public static ThreeDColor white
orange
public static ThreeDColor orange
green
public static ThreeDColor green
purple
public static ThreeDColor purple
darkCyan
public static ThreeDColor darkCyan
pink
public static ThreeDColor pink
darkGray
public static ThreeDColor darkGray
darkGreen
public static ThreeDColor darkGreen
darkOrange
public static ThreeDColor darkOrange
darkPurple
public static ThreeDColor darkPurple
darkRed
public static ThreeDColor darkRed
brighter
public ThreeDColor brighter()
darker
public ThreeDColor darker()
getRGB
public int getRGB()