ScatterLegendElement#

ScatterLegendElement#

Constructor#

ScatterLegendElement(label, color, marker, ...)

A marker drawn with the marker shape, size and edge of the graphic.

Properties#

ScatterLegendElement.color

the color the swatch is drawn with

ScatterLegendElement.label

the label drawn next to the swatch

ScatterLegendElement.swatch_height

height in pixels the swatch needs, must be implemented in subclass

Methods#

ScatterLegendElement.draw_swatch(draw_list, ...)

draw the swatch in the given rect, must be implemented in subclass