예제 #1
0
        /// <summary>
        /// Copy a Swatch's hsl values into a new float[].
        /// </summary>
        private static float[] CopyhslValues(Swatch color)
        {
            float[] newHsl = new float[3];
            Array.Copy(color.GetHsl(), 0, newHsl, 0, 3);

            return(newHsl);
        }
예제 #2
0
 private bool ShouldIgnoreColor(Swatch color)
 {
     return(ShouldIgnoreColor(color.GetArgb(), color.GetHsl()));
 }