示例#1
0
文件: Color.java 项目: cns-iu/nwb
 /** Gets a string representation of an AWT color. */
 public String toString(java.awt.Color source) {
   return toTuple(source.getRGB()).toString();
 }
示例#2
0
文件: Color.java 项目: cns-iu/nwb
 /** Return the tuple representation of a color. */
 public ColorTuple toTuple(java.awt.Color source) {
   int rgb = source.getRGB();
   return toTuple(rgb);
 }