Exemplo n.º 1
0
 /**
  * Copy a {@link Swatch}'s HSL values into a new float[].
  */
 private static float[] copyHslValues(Swatch color)
 {
     float[] newHsl = new float[3];
     Array.Copy(color.getHsl(), 0, newHsl, 0, 3);
     return(newHsl);
 }
Exemplo n.º 2
0
 private static Boolean shouldIgnoreColor(Swatch color)
 {
     return(shouldIgnoreColor(color.getHsl()));
 }