Пример #1
0
        public int CompareTo([AllowNull] PixelColor other)
        {
            int ret = ForegroundColor.CompareTo(other.ForegroundColor);

            if (ret == 0)
            {
                ret = BackgroundColor.CompareTo(other.BackgroundColor);
            }
            return(ret);
        }