コード例 #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);
 }