int GetColorArraySize2D(Device2D device)
    {
        int maxRow    = ChromaAnimationAPI.GetMaxRow(device);
        int maxColumn = ChromaAnimationAPI.GetMaxColumn(device);

        return(maxRow * maxColumn);
    }
 int GetKeyColorIndex(int row, int column)
 {
     return(ChromaAnimationAPI.GetMaxColumn(Device2D.Keyboard) * row + column);
 }