예제 #1
0
        internal RowResultV2 OnRowEnd()
        {
            Color backgroundColor = FindBackgroundColor();
            Color foregroundColor = FindForegroundColor(backgroundColor);
            int   transitionCount = GetTransitionCount(backgroundColor);

            _countExactColors.Clear();
            _colorsInRow.Clear();

            return(new RowResultV2(backgroundColor, foregroundColor, transitionCount));
        }
예제 #2
0
 internal void OnRowBegin()
 {
     openTransitions.Clear();
     countExactPairs.Clear();
     countExactColors.Clear();
 }