draw_swatch# LineLegendElement.draw_swatch(draw_list, x, y, width, height)[source]# draw the swatch in the given rect, must be implemented in subclass