@staticmethod
def _padding_line(edge_characters, column_index, number_of_columns, edges):
    """Return a padding line generated from the current edges."""
    line = edge_characters[:column_index * 2]
    if (column_index, column_index - 1) in edges or (column_index, column_index
        ) in edges:
        line.extend(edge_characters[column_index * 2:(column_index + 1) * 2])
    else:
        line.extend([' ', ' '])
    remainder = number_of_columns - column_index - 1
    if remainder > 0:
        line.extend(edge_characters[-(remainder * 2):])
    return line
