OELegendLayout

class OELegendLayout

This class represents OELegendLayout which is a layout manager that allows to create interactive legends in SVG image format.

click on the "Legend" label

Example of legend layout

../../_images/LegendLayout.svg

Constructors

OELegendLayout(image: OEImageBase, buttontext: str,
               opts: OELegendLayoutOptions) -> OELegendLayout

Creates an OELegendLayout object with the specified options.

parent

The OEImageBase object on which the OELegendLayout object is placed.

text

The text of the button of the legend.

opts

The OELegendLayoutOptions object that defines the properties and style of the legend layout.

See also

GetLegendArea

GetLegendArea() -> OEImage

Provides access to the legend area of the OELegendLayout object.

See also

GetOptions

GetOptions() -> OELegendLayoutOptions

Returns the options used to initialized the OELegendLayout object.

See also