Пример #1
0
 /** Gets a string representation of an AWT color. */
 public String toString(java.awt.Color source) {
   return toTuple(source.getRGB()).toString();
 }
Пример #2
0
 /** Return the tuple representation of a color. */
 public ColorTuple toTuple(java.awt.Color source) {
   int rgb = source.getRGB();
   return toTuple(rgb);
 }