/** * 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); }
private static Boolean shouldIgnoreColor(Swatch color) { return(shouldIgnoreColor(color.getHsl())); }