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
See also
OELegendLayoutOptions class
OEDrawLegendLayout
functionOELegendLayoutStyle
namespaceOELegendColorStyle
namespaceOELegendInteractiveStyle
namespace
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
OELegendLayout.GetOptions
method
GetLegendArea¶
OEImage &GetLegendArea()
Provides access to the legend area of the OELegendLayout object.
See also
OEImage class
GetOptions¶
const OELegendLayoutOptions &GetOptions() const
Returns the options used to initialized the OELegendLayout object.
See also
OELegendLayoutOptions class