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

Constructors

OELegendLayout(OEImageBase &parent, const std::string &text,
               const OELegendLayoutOptions &opts)

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

OEImage &GetLegendArea()

Provides access to the legend area of the OELegendLayout object.

See also

GetOptions

const OELegendLayoutOptions &GetOptions() const

Returns the options used to initialized the OELegendLayout object.

See also