Esempio n. 1
0
 /**
  * Establishes the specified color (RGB).
  *
  * @param value color as defined by the setrgbcolor command
  * @return true if the color changed compared to the previous setting
  */
 public boolean useColor(final Color value) {
   if (!ColorUtil.isSameColor(this.color, value)) {
     this.color = value;
     return true;
   } else {
     return false;
   }
 }