def _svg_rectangle(x, y, a, b, color, width, border_color):
    color = _svg_color(color)
    border_color = _svg_color(border_color)
    return '<rect x="{}" y="{}" width="{}" height="{}" style="fill:{}; stroke:{}; stroke-width:{};" />\n'.format(x, y, a, b, color, border_color, width)